Browse Source

Merge branch 'kegan/get-service' into kegan/get-session

kegan/get-session
Kegan Dougal 8 years ago
parent
commit
ed53b8d3e1
  1. 2
      src/github.com/matrix-org/go-neb/api.go

2
src/github.com/matrix-org/go-neb/api.go

@ -235,7 +235,7 @@ type getServiceHandler struct {
}
func (h *getServiceHandler) OnIncomingRequest(req *http.Request) (interface{}, *errors.HTTPError) {
if req.Method != "GET" {
if req.Method != "POST" {
return nil, &errors.HTTPError{nil, "Unsupported Method", 405}
}
var body struct {

Loading…
Cancel
Save