Versiion 0.2.3 - Ajout Handle Case Discriminator
This commit is contained in:
parent
159eb678ba
commit
cebe57f190
@ -74,7 +74,7 @@ module.exports.getDiscordUser = function (code, session) {
|
|||||||
|
|
||||||
var user = {}
|
var user = {}
|
||||||
|
|
||||||
if(!userInfo.user.global_name) {
|
if(typeof userInfo.user.global_name == "undefined") {
|
||||||
reject("MIGRATE_ACCOUNT_ONLY")
|
reject("MIGRATE_ACCOUNT_ONLY")
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user