Skip to content

Commit

Permalink
fix: fixes path to be / on UPS cookie creation options (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
tibuurcio authored May 21, 2024
1 parent 2de1043 commit 0cebf44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/user-preferences/user-preferences.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export class UserPreferencesService<TUserPreferenceId extends PropertyKey> {
private async setStoredPreferences(storedPreferences: UserPreferences<TUserPreferenceId>): Promise<void> {
Cookies.putObject(this.cookieKey, storedPreferences, {
expires: this.dateFormatter(),
path: '/',
})

await Promise.resolve()
Expand Down

0 comments on commit 0cebf44

Please sign in to comment.