mirror of
https://github.com/pagefaultgames/rogueserver.git
synced 2025-04-03 03:27:13 +08:00
fall back to legacy save ID
This commit is contained in:
parent
2aab022ce3
commit
e4713e6ea3
@ -591,6 +591,9 @@ func handleUpdateAll(w http.ResponseWriter, r *http.Request) {
|
|||||||
httpError(w, r, fmt.Errorf("failed to decode request body: %s", err), http.StatusBadRequest)
|
httpError(w, r, fmt.Errorf("failed to decode request body: %s", err), http.StatusBadRequest)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if data.ClientSessionId == "" {
|
||||||
|
data.ClientSessionId = legacyClientSessionId
|
||||||
|
}
|
||||||
|
|
||||||
var active bool
|
var active bool
|
||||||
active, err = db.IsActiveSession(uuid, data.ClientSessionId)
|
active, err = db.IsActiveSession(uuid, data.ClientSessionId)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user