fix: retry oauth call 3x rather than just once

zio/stable
Daniel Roe 2023-01-09 00:06:47 +00:00
parent 759d9e257e
commit 88b428dc09
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ export default defineEventHandler(async (event) => {
code, code,
scope: 'read write follow push', scope: 'read write follow push',
}, },
retry: 3,
}) })
const url = `/signin/callback?${stringifyQuery({ server, token: result.access_token, vapid_key: app.vapid_key })}` const url = `/signin/callback?${stringifyQuery({ server, token: result.access_token, vapid_key: app.vapid_key })}`