Skip to content

Commit 9d90815

Browse files
committed
Add ApiKey to header
1 parent 842c12c commit 9d90815

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

web/store/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,7 @@ export const actions = {
508508
context.commit('setAuthUser', null),
509509
context.commit('setUser', null),
510510
])
511+
setApiKey('')
511512
return
512513
}
513514
setAuthHeader(await authUser.getIdToken())
@@ -523,6 +524,7 @@ export const actions = {
523524
{ authUser }
524525
) {
525526
if (authUser == null) {
527+
setApiKey('')
526528
return
527529
}
528530
setAuthHeader(await authUser.getIdToken())

0 commit comments

Comments
 (0)