Bug 25535: Hold API mapping maps cancellationdate to cancelation_date, but it should be cancellation_date

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
This commit is contained in:
Kyle M Hall 2020-05-18 14:14:42 -04:00 committed by Joy Nelson
parent e78231f3f6
commit df41ff4a9c
3 changed files with 3 additions and 3 deletions

View File

@ -416,7 +416,7 @@ sub to_api_mapping {
branchcode => 'pickup_library_id',
notificationdate => undef,
reminderdate => undef,
cancellationdate => 'cancelation_date',
cancellationdate => 'cancellation_date',
reservenotes => 'notes',
found => 'status',
itemnumber => 'item_id',

View File

@ -22,7 +22,7 @@
"type": ["string", "null"],
"description": "Internal library identifier for the pickup library"
},
"cancelation_date": {
"cancellation_date": {
"type": ["string", "null"],
"format": "date",
"description": "The date the hold was cancelled"

View File

@ -37,7 +37,7 @@
"type": "string"
},
{
"name": "cancelation_date",
"name": "cancellation_date",
"in": "query",
"description": "The date the hold was cancelled",
"type": "string",