adding connection now works
This commit is contained in:
@@ -99,15 +99,10 @@ export default class GitHubConnection 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.name,
|
||||
revoked: false,
|
||||
show_activity: false,
|
||||
type: this.id,
|
||||
verified: true,
|
||||
visibility: 0,
|
||||
integrations: [],
|
||||
});
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user