Fix HTTP status code

This commit is contained in:
2023-12-21 19:47:20 +11:00
parent 05aa2bf1fd
commit 202c0fcf4e

View File

@@ -24,9 +24,9 @@ module Micropub
}.to_json
res.status = 202
in Failure(:invalid_request)
res.status = 429
res.status = 422
in Failure(:not_implemented)
res.status = 429
res.status = 422
end
end
end