issue with github displayName potentially being blank
This commit is contained in:
parent
8c63814e89
commit
0a710fcc06
|
@ -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: [],
|
||||
|
|
Loading…
Reference in New Issue