Koha-clms/Koha/REST
Nick Clemens 91da4b4b38
Bug 39408: Don't attempt to send a message if one is not generated
The routine to create the message can return nothing if there is no content,
we should handle this case and not attempt to send.

To test:
1 - Test plan from last patch
2 - Apply this patch
3 - POST to patron API again
4 - Success!

Signed-off-by: Claire Hernandez <claire.hernandez@biblibre.com>
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit c1fa513be9)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
2025-10-29 10:02:25 +01:00
..
Plugin Bug 40417: Remove 'validation' method 2025-08-22 09:47:55 +02:00
V1 Bug 39408: Don't attempt to send a message if one is not generated 2025-10-29 10:02:25 +01:00
V1.pm Bug 37286: Fix REST API authentication when using Mojo apps 2025-03-17 08:21:23 +01:00