Skip to content

Commit

Permalink
naming conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
ulfgebhardt committed Apr 9, 2024
1 parent bfcb61c commit 1eb4e13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/stores/authStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { User } from 'oidc-client-ts'
import { acceptHMRUpdate, defineStore } from 'pinia'
import { computed, ref } from 'vue'

export const cookiesStorage = {
export const cookieStorage = {
setItem(key: string, state: string) {
Cookies.set('auth', state, { expires: 3 })
},
Expand Down Expand Up @@ -37,7 +37,7 @@ export const useAuthStore = defineStore(
clear,
}
},
{ persist: { storage: cookiesStorage } },
{ persist: { storage: cookieStorage } },
)

if (import.meta.hot) {
Expand Down

0 comments on commit 1eb4e13

Please sign in to comment.