mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 18:43:10 -06:00
Return an "Unauthorized" error message + refresh zion contract types (#44)
* Add unauthorized message * update regenerated types for zion contracts
This commit is contained in:
parent
18db428c23
commit
94061b7b8d
|
|
@ -264,7 +264,7 @@ func Setup(
|
||||||
if !isAllowed {
|
if !isAllowed {
|
||||||
return util.JSONResponse{
|
return util.JSONResponse{
|
||||||
Code: http.StatusUnauthorized,
|
Code: http.StatusUnauthorized,
|
||||||
JSON: jsonerror.Forbidden(""),
|
JSON: jsonerror.Forbidden("Unauthorised"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue