Skip to content

Commit 235433a

Browse files
authored
return interceptor (#132) (#133)
1 parent 9d5cb4d commit 235433a

File tree

6 files changed

+1519
-2520
lines changed

6 files changed

+1519
-2520
lines changed

.yarn/releases/yarn-3.2.2.cjs

+783
Large diffs are not rendered by default.

.yarn/releases/yarn-berry.cjs

-631
This file was deleted.

.yarnrc.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
yarnPath: .yarn/releases/yarn-berry.cjs
1+
yarnPath: .yarn/releases/yarn-3.2.2.cjs

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,6 @@
5050
"/node_modules/",
5151
"/dist/"
5252
]
53-
}
53+
},
54+
"packageManager": "[email protected]"
5455
}

src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ const addOAuthInterceptor = (
9696
verifier = null,
9797
}: OAuthInterceptorConfig
9898
) => {
99-
client.interceptors.request.use((config: AxiosRequestConfig) => {
99+
return client.interceptors.request.use((config: AxiosRequestConfig) => {
100100
const method = (config.method || "GET").toUpperCase();
101101
const oauthParams: { [k: string]: string } = {
102102
oauth_consumer_key: key,

0 commit comments

Comments
 (0)