issue with github displayName potentially being blank

This commit is contained in:
adueck 2024-03-13 23:37:14 -04:00
parent 8c63814e89
commit 0a710fcc06
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ export async function createNewUser(
_id: userId,
userId,
emailVerified: false,
name: input.profile.displayName,
name: input.profile.displayName || input.profile.username || "",
[input.strategy]: input.profile,
level: "basic",
tests: [],