diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2026-05-27 22:13:06 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2026-05-27 22:13:06 +0300 |
| commit | 8d22861efda3b41e5fffce8b12638019b438587c (patch) | |
| tree | fdc6aee813d9610a52be051b43015b903aa33800 /classes/Handler/GetinfoHandler.php | |
| parent | c900cc4fcc0a603a1a8887d4ff2919533cf22fdb (diff) | |
| download | the-epube-8d22861efda3b41e5fffce8b12638019b438587c.tar.gz the-epube-8d22861efda3b41e5fffce8b12638019b438587c.tar.xz | |
add tests for getinfo
Diffstat (limited to 'classes/Handler/GetinfoHandler.php')
| -rw-r--r-- | classes/Handler/GetinfoHandler.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/Handler/GetinfoHandler.php b/classes/Handler/GetinfoHandler.php index 0c51cf5..8914040 100644 --- a/classes/Handler/GetinfoHandler.php +++ b/classes/Handler/GetinfoHandler.php @@ -33,6 +33,6 @@ class GetinfoHandler implements RequestHandlerInterface, AuthRequired return (new Response()) ->withStatus(404) - ->withBody("Not found."); + ->withBody(json_encode(["error" => "Not found."])); } } |
