https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37686 --- Comment #1 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 170498 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=170498&action=edit Bug 37686: Fix render_resource_not_found() and render_resource_deleted() misses This patch refactors some small pieces of code to use the helpers as prescribed on our coding guidelines [1] instead of manually crafting responses. To test: 1. Apply this patch 2. Run: $ ktd --shell k$ prove t/db_dependent/api/v1/ => SUCCESS: All tests pass 3. Sign off :-D [1] https://wiki.koha-community.org/wiki/Coding_Guidelines_-_API#REST4:_Controll... Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> -- You are receiving this mail because: You are watching all bug changes.