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