adding connection now works

This commit is contained in:
Puyodead1
2023-03-18 19:15:40 -04:00
parent 21bfda32e4
commit 6a52e65e27
13 changed files with 54 additions and 41 deletions
+1 -6
View File
@@ -118,15 +118,10 @@ export default class BattleNetConnection extends Connection {
if (exists) return false;
await this.createConnection({
user_id: userId,
external_id: userInfo.id,
external_id: userInfo.id.toString(),
friend_sync: params.friend_sync,
name: userInfo.battletag,
revoked: false,
show_activity: false,
type: this.id,
verified: true,
visibility: 0,
integrations: [],
});
return true;
}