This commit is contained in:
lesion 2024-06-11 11:18:15 +02:00
parent 7d5ad0d4a5
commit aa50c63b74
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -591,7 +591,7 @@ const eventController = {
if (Number(end_datetime) > 1000*24*60*60*365) {
log.debug('[UPDATE] end_datetime is too much in the future')
return res.status(400).send('are you sure?')
return res.status(400).send('end_datetime is too much in the future')
}
}
@ -602,7 +602,7 @@ const eventController = {
if (Number(start_datetime) > 1000*24*60*60*365) {
log.debug('[UPDATE] start_datetime is too much in the future')
return res.status(400).send('are you sure?')
return res.status(400).send('start_datetime is too much in the future')
}
const recurrent = body.recurrent ? JSON.parse(body.recurrent) : null