diff --git a/www/ebooks/post.php b/www/ebooks/post.php index e94da4f4..0d6ee378 100644 --- a/www/ebooks/post.php +++ b/www/ebooks/post.php @@ -21,7 +21,7 @@ try{ } // POSTing published `Ebooks` is not supported. - Template::ExitWithCode(Enums\HttpCode::NotFound); + Template::ExitWithCode(Enums\HttpCode::MethodNotAllowed); } catch(Exceptions\EbookNotFoundException){ Template::ExitWithCode(Enums\HttpCode::NotFound);