1
0
mirror of https://git.cant.at/Madeorsk/PollVerlaine synced 2024-11-25 00:04:33 +01:00

DELETE: Change HTTP Status Code to 204

This commit is contained in:
Tagadda 2018-08-13 15:23:26 +02:00
parent 7a29c6265b
commit 9469ffb88b

View File

@ -104,7 +104,7 @@ Flight::route("GET|DELETE /polls/@id:[a-fA-F0-9]+/@token:[a-fA-F0-9]+", function
Flight::json(format_poll($poll), 204); Flight::json(format_poll($poll), 204);
else else
{ {
Flight::redirect('/'); Flight::redirect('/', 204);
} }
} }
else else