Bug 41700: Update note_date to datetime
This patch updates the swaager definition to have the correct format
To test:
1 - Enable issue notes: AllowCheckoutNotes preference
2 - Issue an item to a patron
3 - Sign in to opac as that patron, add a note
4 - Have staff client open and a second tab try:
http://localhost:8081/api/v1/checkouts/
5 - Error "message":"Does not match date format.","path":"\/body\/0\/note_date"
6 - Apply patch, yarn build, restart all
7 - Refresh the page
8 - Success!
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
b034685fe8
commit
1c60059808
|
|
@ -89,7 +89,7 @@ properties:
|
|||
type:
|
||||
- string
|
||||
- "null"
|
||||
format: date
|
||||
format: date-time
|
||||
description: Datetime of the issue note
|
||||
note_seen:
|
||||
type:
|
||||
|
|
|
|||
Loading…
Reference in New Issue