File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ export default class OAuthHandler {
133
133
134
134
this . axiosInstance . defaults . headers = this . _getHeaders ( )
135
135
try {
136
- const response = await this . axiosInstance . post ( `${ this . OAuthBaseURL } /apps-api/apps /token` , body )
136
+ const response = await this . axiosInstance . post ( `${ this . developerHubBaseUrl } /token` , body )
137
137
138
138
this . _saveTokens ( response . data )
139
139
return response . data
@@ -180,7 +180,7 @@ export default class OAuthHandler {
180
180
181
181
this . axiosInstance . defaults . headers = this . _getHeaders ( )
182
182
try {
183
- const response = await this . axiosInstance . post ( `${ this . developerHubBaseUrl } /apps/ token` , body )
183
+ const response = await this . axiosInstance . post ( `${ this . developerHubBaseUrl } /token` , body )
184
184
185
185
const data = response . data
186
186
this . axiosInstance . oauth . accessToken = data . access_token
You can’t perform that action at this time.
0 commit comments