Updated scheduler to display schedule archives upon request.
This commit is contained in:
parent
baf8255b2c
commit
50b1e15a6c
3 changed files with 61 additions and 1 deletions
|
|
@ -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});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue