Skip to content

fix: Ensure no API calls are made until we're certain the user has been created #271

fix: Ensure no API calls are made until we're certain the user has been created

fix: Ensure no API calls are made until we're certain the user has been created #271

Triggered via pull request December 6, 2023 23:53
Status Failure
Total duration 1m 36s
Artifacts

pr-checks.yml

on: pull_request
Lint and build check
1m 22s
Lint and build check
Verify environment variables are on dev and prod
40s
Verify environment variables are on dev and prod
Fit to window
Zoom out
Zoom in

Annotations

5 errors
Lint and build check
@vessel/expo#typecheck: command (/home/runner/work/pager/pager/apps/expo) pnpm run typecheck exited (1)
Lint and build check
'user' is possibly 'null'.
Lint and build check
'user' is possibly 'null'.
Lint and build check
Type '{ imageUrl: null; id: `v_user_${string}`; createdAt: Date; email: string; orgId: `v_org_${string}`; firstName: string | null; lastName: string | null; expoPushTokenSecretId: `v_secret_expoPushToken_${string}` | null; externalId: string; } | { ...; } | null | undefined' is not assignable to type '{ imageUrl: null; id: `v_user_${string}`; createdAt: Date; email: string; orgId: `v_org_${string}`; firstName: string | null; lastName: string | null; expoPushTokenSecretId: `v_secret_expoPushToken_${string}` | null; externalId: string; } | { ...; } | null'.
Lint and build check
Process completed with exit code 1.