Unified · Split
| @@ -67,7 +67,7 @@ export async function bootstrapCurrentWorkosAccountImpl(ctx: MutationCtx) { · 66 unmodified lines | |||
| 67 | const subject = identity.subject; | 67 | const subject = identity.subject; |
| 68 | const authKitProfile = await getAuthKitUserProfile(ctx, subject); | 68 | const authKitProfile = await getAuthKitUserProfile(ctx, subject); |
| 69 | const identityProfile = resolveIdentityProfile({ | 69 | const identityProfile = resolveIdentityProfile({ |
| 70 | identity: identity as Record<string, unknown> & { subject: string }, | 70 | identity: { ...identity, subject }, |
| 71 | authKitProfile, | 71 | authKitProfile, |
| 72 | }); | 72 | }); |
| 73 | 73 | ||