StationStatus Toast hinzugefügt #45
This commit is contained in:
@@ -45,7 +45,6 @@ export const handleConnectDispatch =
|
||||
});
|
||||
}
|
||||
|
||||
let parsedLogoffDate = null;
|
||||
const [logoffHours, logoffMinutes] = logoffTime.split(":").map(Number);
|
||||
|
||||
const connectedDispatcherEntry = await prisma.connectedDispatcher.create({
|
||||
|
||||
@@ -101,7 +101,7 @@ export const handleConnectPilot =
|
||||
await addRolesToMember(discordAccount.discordId.toString(), [DISCORD_ROLES.ONLINE_PILOT]);
|
||||
}
|
||||
|
||||
socket.join("dispatchers"); // Join the dispatchers room
|
||||
socket.join("pilots"); // Join the pilots room
|
||||
socket.join(`user:${userId}`); // Join the user-specific room
|
||||
socket.join(`station:${stationId}`); // Join the station-specific room
|
||||
|
||||
|
||||
Reference in New Issue
Block a user