fix: update last accessed client on push

This commit is contained in:
DecDuck
2025-04-01 21:14:39 +11:00
parent 6fe8bf1e76
commit 6774101091
2 changed files with 10 additions and 2 deletions
@@ -39,7 +39,13 @@ export default defineClientEventHandler(
if (!game)
throw createError({ statusCode: 400, statusMessage: "Invalid game ID" });
await saveManager.pushSave(gameId, user.id, slotIndex, h3.node.req);
await saveManager.pushSave(
gameId,
user.id,
slotIndex,
h3.node.req,
client.id
);
return;
}