Add Error Discord Auth Failed
All checks were successful
Subsonics - Pipeline/pipeline/head This commit looks good

This commit is contained in:
CICD - Pipeline 2023-04-27 11:55:28 +02:00
parent 354a475954
commit d136ae9c50

View File

@ -600,7 +600,10 @@ function startServer(client) {
const socket = authTokenWait.get(token) const socket = authTokenWait.get(token)
if(req.query.code) {
socket.emit("authFailed")
} else {
const code = req.query.code const code = req.query.code
@ -645,7 +648,7 @@ function startServer(client) {
} }
}
} else { } else {
res.send("SubSonics Manager : ERREUR : AUCUN TOKEN ENREGISTRÉ !") res.send("SubSonics Manager : ERREUR : AUCUN TOKEN ENREGISTRÉ !")