mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-22 21:22:40 +00:00
Report 404 on icons for absence of data
This is significant as upgraded databases have icon IDs, but no data
This commit is contained in:
parent
bdf9c0e9d2
commit
8e749bb73c
1 changed files with 1 additions and 1 deletions
|
@ -814,7 +814,7 @@ class V1 extends \JKingWeb\Arsse\REST\AbstractHandler {
|
|||
} catch (ExceptionInput $e) {
|
||||
return new ErrorResponse("404", 404);
|
||||
}
|
||||
if (!$icon['id']) {
|
||||
if (!$icon['data']) {
|
||||
return new ErrorResponse("404", 404);
|
||||
}
|
||||
return new Response([
|
||||
|
|
Loading…
Reference in a new issue