summary refs log tree commit diff
path: root/src/connections/GitHub/index.ts
diff options
context:
space:
mode:
authorPuyodead1 <puyodead@proton.me>2022-12-22 10:47:32 -0500
committerPuyodead1 <puyodead@proton.me>2023-03-18 19:15:40 -0400
commit6a52e65e27d514273a4210dadafbee9692f23354 (patch)
treec2eb70b2b7c4be1a482392ca8982459885e1865c /src/connections/GitHub/index.ts
parentadd connections (diff)
downloadserver-6a52e65e27d514273a4210dadafbee9692f23354.tar.xz
adding connection now works
Diffstat (limited to '')
-rw-r--r--src/connections/GitHub/index.ts7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/connections/GitHub/index.ts b/src/connections/GitHub/index.ts

index a96ac68e..41806a67 100644 --- a/src/connections/GitHub/index.ts +++ b/src/connections/GitHub/index.ts
@@ -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; }