We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebfdbed commit a1ef493Copy full SHA for a1ef493
src/proxy.ts
@@ -128,7 +128,7 @@ function createProxy(config: Config): Hono {
128
}
129
130
console.log('authorizing refresh token')
131
- authorizeRefreshToken(refresh_token)
+ await authorizeRefreshToken(refresh_token)
132
.then(({
133
access_token: refreshed_access_token,
134
expires_in: refreshed_expires_in,
@@ -161,7 +161,7 @@ function createProxy(config: Config): Hono {
161
if (typeof code === 'undefined') {
162
throw new Error('code is undefined')
163
164
- authorizeCode(code)
+ await authorizeCode(code)
165
166
access_token,
167
expires_in,
0 commit comments