mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-13 08:12:40 +10:00
fix: update last accessed client on push
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user