From 1b7b44b24d372cd95e1337c5a2557cadc99bf19a Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 26 Jun 2023 15:15:31 +0100 Subject: [PATCH] Bug 33996: (QA follow-up) Fix mappings to match guidelines The date field guidelines are recorded on the wiki: https://wiki.koha-community.org/wiki/Coding_Guidelines_-_API#SWAGGER1.3.4.1_date.2Fdatetime.2Ftimestamp_fields Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi --- Koha/Authority.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/Authority.pm b/Koha/Authority.pm index d05192007a..509d2f9ae7 100644 --- a/Koha/Authority.pm +++ b/Koha/Authority.pm @@ -180,11 +180,11 @@ sub to_api_mapping { authid => 'authority_id', authtrees => undef, authtypecode => 'framework_id', - datecreated => 'creation_date', + datecreated => 'created_date', linkid => undef, marc => undef, marcxml => undef, - modification_time => 'updated_on', + modification_time => 'modified_date', origincode => undef, }; } -- 2.39.5