mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-02-25 14:03:09 -06:00
Return a 200 status code
This commit is contained in:
parent
cd8d9c49a3
commit
0bb12d5ae7
|
|
@ -31,7 +31,7 @@ func LocalKeys(req *http.Request, cfg config.FederationAPI) util.JSONResponse {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return util.ErrorResponse(err)
|
return util.ErrorResponse(err)
|
||||||
}
|
}
|
||||||
return util.JSONResponse{JSON: keys}
|
return util.JSONResponse{Code: 200, JSON: keys}
|
||||||
}
|
}
|
||||||
|
|
||||||
func localKeys(cfg config.FederationAPI, validUntil time.Time) (*gomatrixserverlib.ServerKeys, error) {
|
func localKeys(cfg config.FederationAPI, validUntil time.Time) (*gomatrixserverlib.ServerKeys, error) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue