]> git.koha-community.org Git - koha.git/commit
Bug 30979: (follow-up) Fix public availability 500
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 17 May 2023 18:56:43 +0000 (19:56 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 14 Jul 2023 15:14:45 +0000 (12:14 -0300)
commit96bbd70d2dd16c9dadeaf343e12abc83537f65c1
tree01acf75c13b76b0b222bfa12937055bbd47c5356
parent89b008bccd54dfc2c85458e8f346dac367804d0e
Bug 30979: (follow-up) Fix public availability 500

When we introduced the logged in user id to the token generation we
had the knock on effect of creating a 500 response for unauthenticated
availability lookups.

This patch resolves the 500, but results in a token that's not useful
for the end user.  We should consider this in the wider context down the
line.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/REST/V1/Checkouts.pm