Skip to content

Commit a93068f

Browse files
committed
refactor(oauth2 scheme): remove unnecessary empty baseURL
1 parent 30f456c commit a93068f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/schemes/oauth2.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,6 @@ export class Oauth2Scheme<
384384
const response = await this.$auth.request({
385385
method: 'post',
386386
url: this.options.endpoints.token,
387-
baseURL: '',
388387
data: encodeQuery({
389388
code: parsedQuery.code as string,
390389
client_id: this.options.clientId + '',
@@ -449,7 +448,6 @@ export class Oauth2Scheme<
449448
.request({
450449
method: 'post',
451450
url: this.options.endpoints.token,
452-
baseURL: '',
453451
headers: {
454452
'Content-Type': 'application/x-www-form-urlencoded'
455453
},

0 commit comments

Comments
 (0)