0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-28 14:58:20 +02:00

ircd:Ⓜ️ Fix error code.

This commit is contained in:
Jason Volk 2019-07-26 19:09:28 -07:00
parent e404c7a094
commit 6c367c8abf

View file

@ -105,7 +105,7 @@ namespace ircd::m
IRCD_M_EXCEPTION(error, BAD_JSON, http::BAD_REQUEST);
IRCD_M_EXCEPTION(error, NOT_JSON, http::BAD_REQUEST);
IRCD_M_EXCEPTION(error, BAD_SIGNATURE, http::UNAUTHORIZED);
IRCD_M_EXCEPTION(error, ACCESS_DENIED, http::UNAUTHORIZED);
IRCD_M_EXCEPTION(error, ACCESS_DENIED, http::FORBIDDEN);
IRCD_M_EXCEPTION(error, FORBIDDEN, http::FORBIDDEN);
IRCD_M_EXCEPTION(error, NOT_FOUND, http::NOT_FOUND);
IRCD_M_EXCEPTION(error, UNSUPPORTED, http::NOT_IMPLEMENTED);