fixed wrong loginTime beeing logged

This commit is contained in:
PxlLoewe
2025-06-10 23:18:09 -07:00
parent 8819c8d7f9
commit d8fea362a8
2 changed files with 4 additions and 1 deletions

View File

@@ -78,7 +78,6 @@ export const handleConnectPilot =
publicUser: getPublicUser(user) as any,
esimatedLogoutTime: parsedLogoffDate?.toISOString() || null,
userId: userId,
loginTime: nowPlus2h.toISOString(),
stationId: parseInt(stationId),
lastHeartbeat:
process.env.environment === "development" ? nowPlus2h.toISOString() : undefined,