mirror of
https://github.com/matrix-org/dendrite
synced 2024-12-15 04:33:44 +01:00
Add missing GET for /login (#258)
This commit is contained in:
parent
8dabca0f07
commit
6bec139544
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ func Setup(
|
||||||
common.MakeAPI("login", func(req *http.Request) util.JSONResponse {
|
common.MakeAPI("login", func(req *http.Request) util.JSONResponse {
|
||||||
return readers.Login(req, accountDB, deviceDB, cfg)
|
return readers.Login(req, accountDB, deviceDB, cfg)
|
||||||
}),
|
}),
|
||||||
).Methods("POST", "OPTIONS")
|
).Methods("GET", "POST", "OPTIONS")
|
||||||
|
|
||||||
r0mux.Handle("/pushrules/",
|
r0mux.Handle("/pushrules/",
|
||||||
common.MakeAPI("push_rules", func(req *http.Request) util.JSONResponse {
|
common.MakeAPI("push_rules", func(req *http.Request) util.JSONResponse {
|
||||||
|
|
Loading…
Reference in a new issue