Skip to content
This repository has been archived by the owner on Jul 1, 2020. It is now read-only.

Commit

Permalink
Fix bug code 0
Browse files Browse the repository at this point in the history
  • Loading branch information
giovd8 committed May 13, 2020
1 parent bfadf3a commit dc9a748
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions utils/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ const jwtAuth = (axiosInstance, message, displayReply = false) => {
}
if (displayReply) {
switch (code) {
case 0:
return message.reply(
"Username non trovato, registra il tuo username Telegram dalle impostazioni della web-app."
);
case 1:
return message.reply("Username trovato, registrazione riuscita!");
case 2:
return message.reply(
"Account già registrato, nessuna modifica apportata."
);
case 3:
return message.reply(
"Username non trovato, registra il tuo username Telegram dalle impostazioni della web-app."
);
default:
break;
}
Expand Down

0 comments on commit dc9a748

Please sign in to comment.