Skip to content

Commit

Permalink
Change url for refresh token to base url (#142)
Browse files Browse the repository at this point in the history
* Change url for refresh token to base url

* Update version no and package-lock

---------

Co-authored-by: Jelle <[email protected]>
Co-authored-by: Toby Masters <[email protected]>
  • Loading branch information
3 people authored Oct 1, 2024
1 parent c8493f6 commit 7d9ce94
Show file tree
Hide file tree
Showing 4 changed files with 4,316 additions and 1,178 deletions.
2 changes: 1 addition & 1 deletion lib/utils/apiUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ async function refreshTokens(instance, firmId) {
access_token: firmTokens.accessToken,
};
const response = await instance.post(
`https://api.getsilverfin.com/f/${firmId}/oauth/token`,
`${BASE_URL}/f/${firmId}/oauth/token`,
data
);
firmCredentials.storeNewTokenPair(firmId, response.data);
Expand Down
Loading

0 comments on commit 7d9ce94

Please sign in to comment.