summary refs log tree commit diff
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-12-23 20:08:23 +1100
committerPuyodead1 <puyodead@proton.me>2023-03-18 19:26:16 -0400
commit42b2237d0f11b229340ffd2b7244e0b05515949d (patch)
tree326298790d192cf1a8a72eae4422d0e400d06972
parentAdd discriminator usernames for Discord connection (diff)
downloadserver-42b2237d0f11b229340ffd2b7244e0b05515949d.tar.xz
Switch from Github real name to username for GH connection
-rw-r--r--src/connections/GitHub/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connections/GitHub/index.ts b/src/connections/GitHub/index.ts
index 5f255e66..d79fd51e 100644
--- a/src/connections/GitHub/index.ts
+++ b/src/connections/GitHub/index.ts
@@ -109,7 +109,7 @@ export default class GitHubConnection extends Connection {
 			user_id: userId,
 			external_id: userInfo.id.toString(),
 			friend_sync: params.friend_sync,
-			name: userInfo.name,
+			name: userInfo.login,
 			type: this.id,
 		});
 	}