From 2b639d4b444a251114d5499d293e4bf3ccdbc020 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 5 May 2023 14:43:01 +0100 Subject: [PATCH] Bug 32721: (QA follow-up) Drop fields from API response Signed-off-by: Martin Renvoize --- Koha/Library.pm | 2 ++ api/v1/swagger/definitions/library.yaml | 10 ---------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/Koha/Library.pm b/Koha/Library.pm index 2e9259b450..078760c167 100644 --- a/Koha/Library.pm +++ b/Koha/Library.pm @@ -353,6 +353,8 @@ sub to_api_mapping { branchip => 'ip', branchnotes => 'notes', marcorgcode => 'marc_org_code', + usercss => undef, + userjs => undef }; } diff --git a/api/v1/swagger/definitions/library.yaml b/api/v1/swagger/definitions/library.yaml index 24d88b588f..de010c50d3 100644 --- a/api/v1/swagger/definitions/library.yaml +++ b/api/v1/swagger/definitions/library.yaml @@ -107,16 +107,6 @@ properties: public: type: boolean description: If the library is visible to the public - userjs: - type: - - string - - "null" - description: Any branch-specific UserJS for the OPAC - usercss: - type: - - string - - "null" - description: Any branch-specific UserCSS for the OPAC smtp_server: type: - object -- 2.40.1