Updated scheduler to display schedule archives upon request.

This commit is contained in:
rainbow napkin 2026-10-12 01:10:34 -04:00
parent baf8255b2c
commit 50b1e15a6c
3 changed files with 61 additions and 1 deletions

View file

@ -533,6 +533,14 @@ class queue{
//Yeetus-Deletus bitch
return;
}
//If our startDate isn't before our endDate
if(data.startDate >= data.endDate){
//Bitch, moan, an' complain!
loggerUtils.socketErrorHandler(socket, "Invalid Date Range!", "validation");
//Yeetus-Deletus bitch
return;
}
//Get the current channel from the database
const chanDB = await channelModel.findOne({name: socket.chan});