Skip to content
Extraits de code Groupes Projets
Valider 03989e08 rédigé par Will Hunt's avatar Will Hunt
Parcourir les fichiers

Missing return

parent 27f413d3
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -38,7 +38,7 @@ export class DiscordClientFactory {
}
return this.store.get_user_token(userId).then((token) => {
if (token === null) {
Promise.resolve(this.botClient);
return Promise.resolve(this.botClient);
}
client = Bluebird.promisifyAll(new Client({
fetchAllMembers: true,
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter