Bug 30979: Fix regression
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 14 Jul 2023 13:20:27 +0000 (10:20 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 14 Jul 2023 15:14:48 +0000 (12:14 -0300)
commitd0ef15717f0d6ea0b9e0406e865631d17e1f585a
treef7bed26ffe777fb6e15206f2490d63cc621d17d1
parent0a0b1eb68bdff791060f3f9daa404bd102aa2910
Bug 30979: Fix regression

This patch fixes a regression introduced by the 'Fix public availability
500' follow-up.

To test:
1. Run:
   $ ktd --shell
  k$ prove t/db_dependent/api/v1/checkouts.t
=> FAIL: Tests fail!
2. Apply this patch
3. Repeat 1
=> SUCCESS: Tests pass! Tests are useful!
4. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/REST/V1/Checkouts.pm