Version 0.2.3 - Ajout Handle Case Discriminator FINAL 3

This commit is contained in:
CICD - Pipeline 2023-08-22 18:51:08 +02:00
parent fe73432014
commit d6fb056096

View File

@ -74,9 +74,7 @@ module.exports.getDiscordUser = function (code, session) {
var user = {}
const global_name = userInfo.user.global_name
if(typeof global_name == "undefined") {
if(typeof userInfo.user == "undefined") {
reject("MIGRATE_ACCOUNT_ONLY")
} else {