Koha-clms/api/v1/swagger
Joonas Kylmälä 8df5f362ac Bug 26271: Add null to the list of accepted account_line data types
The database schema for accountlines table allows the
manager_id/user_id column to be NULL. If request to
/api/v1/patrons/<patron_id>/account returns such an accountline where
it is NULL we get 500 error as response. Adding NULL to allowed data
types fixes this issue.

To test:
 1) Run prove t/db_dependent/api/v1/patrons_accounts.t and notice it
    doesn't fail

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 089b857586)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 67aa733726)

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
2020-09-15 23:42:39 +12:00
..
definitions Bug 26271: Add null to the list of accepted account_line data types 2020-09-15 23:42:39 +12:00
parameters Bug 19618: Add api endpoint for club holds 2019-10-01 08:05:58 +01:00
paths Bug 25944: Schema fix for illrequests route 2020-07-31 01:19:02 +12:00
definitions.json Bug 14697: Add routes to handle return claims 2019-10-31 12:04:13 +00:00
parameters.json Bug 19618: Add api endpoint for club holds 2019-10-01 08:05:58 +01:00
paths.json Bug 24909: Route spec 2020-06-15 10:32:28 +12:00
swagger.json Bug 18137: Remove x-mojo-around-action 2017-09-21 11:27:05 -03:00
x-primitives.json [SIGNED-OFF] Bug 22522: [19.11.x] Fix several REST API tests 2020-06-09 21:52:37 +00:00