This commit is contained in:
Bel LaPointe
2024-12-14 20:45:29 -07:00
parent 20db498168
commit aa330dffea
3 changed files with 39 additions and 2 deletions

View File

@@ -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)