Bug 29810: Fix patron embed definitions
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 13 Apr 2022 20:11:27 +0000 (17:11 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 14 Apr 2022 10:42:01 +0000 (11:42 +0100)
commitdd91077f91c6d33aac95a375afbb889751252797
treec199a77318db2b1b29516c3cec6cb71eebaafefd
parent412d4f4864558eceb22325074dccd05a3deaa979
Bug 29810: Fix patron embed definitions

Due to a race and a bad rebase, the patrons embeds added on bug 30063
didn't get copied to the parameters secition, thus breaking embedding.

To test:
1. In master, open the patron search page and the inspector
2. Perform a search
=> FAIL: No results
=> FAIL: There's an error 500 in the API response, mentioning embedding
is not allowed
3. Apply this patch
4. Restart all
6. Repeat 2
=> SUCCESS: Results are back!
=> SUCCESS: No more API errors
7. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
api/v1/swagger/paths/patrons.yaml