Skip to content

Commit 604002f

Browse files
committed
fixup! refresh the access token in the background
1 parent 25ecc95 commit 604002f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/plugins/auth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ async function refreshAndSchedule() {
5252
}
5353

5454
async function refresh() {
55-
const url = apiStore.href(apiStore.get(), 'refreshToken')
55+
const url = await apiStore.href(apiStore.get(), 'refreshToken')
5656
return apiStore.post(url)
5757
}
5858

0 commit comments

Comments
 (0)