fall back to legacy save ID

This commit is contained in:
Up committed 2024-05-15 04:08:42 +02:00
1 parent 2aab022ce3
commit e4713e6ea3
1 file changed
+3
+3
View File
@@ -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)
return
}
if data.ClientSessionId == "" {
data.ClientSessionId = legacyClientSessionId
}
var active bool
active, err = db.IsActiveSession(uuid, data.ClientSessionId)