fix: retry oauth call 3x rather than just once

This commit is contained in:
Daniel Roe 2023-01-09 00:06:47 +00:00
parent 759d9e257e
commit 88b428dc09

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 })}`