Fix auto-load not triggering from hotswaps

This commit is contained in:
Cohee
2023-08-19 22:22:24 +03:00
parent 5d1e27c820
commit bab368e3d2
3 changed files with 14 additions and 10 deletions

View File

@ -2659,7 +2659,7 @@ app.post('/creategroup', jsonParser, (request, response) => {
return response.sendStatus(400);
}
const id = Date.now();
const id = String(Date.now());
const groupMetadata = {
id: id,
name: request.body.name ?? 'New Group',