wip
This commit is contained in:
@@ -13,7 +13,7 @@ func isV1(r *http.Request) bool {
|
||||
|
||||
func (s *S) serveV1(w http.ResponseWriter, r *http.Request) error {
|
||||
switch path.Join(r.Method, r.URL.Path) {
|
||||
case "PUT/v1/state/" + s.Session(r).ID + "/party":
|
||||
case "PUT/v1/state/" + s.Session(r.Context()).ID + "/party":
|
||||
return s.serveV1PutParty(w, r)
|
||||
default:
|
||||
http.NotFound(w, r)
|
||||
|
||||
Reference in New Issue
Block a user