fix auto detection
This commit is contained in:
parent
49a349d237
commit
f83da9c36f
|
@ -27,7 +27,7 @@ module.exports = (app, db): void => {
|
|||
// audio_track is official songs and song_id is newgrounds aka custom songs
|
||||
'audio_track': Number(req.body.audioTrack),
|
||||
'song_id': Number(req.body.songID),
|
||||
'auto': false,
|
||||
'auto': Boolean(Number(req.body.auto || 0)),
|
||||
'password': Number(req.body.password || 0),
|
||||
'original': Boolean(req.body.original || 0),
|
||||
'two_player': Boolean(req.body.twoPlayer || 0),
|
||||
|
|
Loading…
Reference in New Issue