Add last activity update on verify

This commit is contained in:
Flashfyre committed 2024-05-15 13:37:36 -04:00
1 parent 509ca8df12
commit df92ff8b6f
2 files changed
+8 -2

No files matched your search

+6
View File
@@ -693,6 +693,12 @@ func handleSystemVerify(w http.ResponseWriter, r *http.Request) {
response.SystemData = &storedSaveData
}
err = db.UpdateAccountLastActivity(uuid)
if err != nil {
httpError(w, r, fmt.Errorf("failed to update account last activity: %s", err), http.StatusInternalServerError)
return
}
jsonResponse(w, r, response)
}