Skip to content

Commit

Permalink
fix AuthConfigResource
Browse files Browse the repository at this point in the history
  • Loading branch information
anagstef committed Dec 11, 2024
1 parent e315a70 commit fc66be5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/clerk-js/src/core/resources/AuthConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export class AuthConfig extends BaseResource implements AuthConfigResource {
object: 'auth_config',
id: this.id || '',
single_session_mode: this.singleSessionMode,
claimed_at: this.claimedAt ? this.claimedAt.getTime() : null,
};
}
}
2 changes: 1 addition & 1 deletion packages/expo/src/cache/dummy-data/environment-resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { EnvironmentJSON } from '@clerk/types';
export const DUMMY_CLERK_ENVIRONMENT_RESOURCE = {
object: 'environment',
id: '',
auth_config: { object: 'auth_config', id: '', single_session_mode: true },
auth_config: { object: 'auth_config', id: '', single_session_mode: true, claimed_at: null },
display_config: {
object: 'display_config',
id: 'display_config_DUMMY_ID',
Expand Down

0 comments on commit fc66be5

Please sign in to comment.