Fix HTTP status code
This commit is contained in:
@@ -24,9 +24,9 @@ module Micropub
|
|||||||
}.to_json
|
}.to_json
|
||||||
res.status = 202
|
res.status = 202
|
||||||
in Failure(:invalid_request)
|
in Failure(:invalid_request)
|
||||||
res.status = 429
|
res.status = 422
|
||||||
in Failure(:not_implemented)
|
in Failure(:not_implemented)
|
||||||
res.status = 429
|
res.status = 422
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user