Bugzilla – Attachment 170950 Details for
Bug 37809
Add missing embeds to checkouts endpoints
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37809: (follow-up) Add wrong embed
Bug-37809-follow-up-Add-wrong-embed.patch (text/plain), 1.10 KB, created by
Tomás Cohen Arazi (tcohen)
on 2024-09-02 15:02:40 UTC
(
hide
)
Description:
Bug 37809: (follow-up) Add wrong embed
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2024-09-02 15:02:40 UTC
Size:
1.10 KB
patch
obsolete
>From 1ddf8f37efa7d83702c7f239cd4ede42185867d1 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 2 Sep 2024 11:56:58 -0300 >Subject: [PATCH] Bug 37809: (follow-up) Add wrong embed > >It seems to me like a copy and paste error coming from the holds >endpoint. > >To test: >1. Use a REST API tool like Postman to ask for some patron's checkouts >2. Add x-koha-emebed: cancellation_requested >=> FAIL: It explodes, cannot embed it >3. Apply this patch >4. Repeat 2 >=> SUCCESS: cancellation_requested no longer a valid option >5. Sign off :-D > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > api/v1/swagger/paths/patrons_checkouts.yaml | 1 - > 1 file changed, 1 deletion(-) > >diff --git a/api/v1/swagger/paths/patrons_checkouts.yaml b/api/v1/swagger/paths/patrons_checkouts.yaml >index bf44b12f23d..9b897a86478 100644 >--- a/api/v1/swagger/paths/patrons_checkouts.yaml >+++ b/api/v1/swagger/paths/patrons_checkouts.yaml >@@ -23,7 +23,6 @@ > items: > type: string > enum: >- - cancellation_requested > - issuer > - item > - library >-- >2.46.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 37809
:
170949
|
170950
|
170952
|
170999