Fix Logout time unable
This commit is contained in:
@@ -48,7 +48,7 @@ export const handleConnectDispatch =
|
||||
const connectedDispatcherEntry = await prisma.connectedDispatcher.create({
|
||||
data: {
|
||||
publicUser: getPublicUser(user) as any,
|
||||
esimatedLogoutTime: logoffTime,
|
||||
esimatedLogoutTime: logoffTime.length > 0 ? logoffTime : null,
|
||||
lastHeartbeat: new Date().toISOString(),
|
||||
userId: user.id,
|
||||
zone: selectedZone,
|
||||
|
||||
Reference in New Issue
Block a user