Skip to content

Commit

Permalink
Change url for refresh token to base url
Browse files Browse the repository at this point in the history
  • Loading branch information
Jelle committed Sep 30, 2024
1 parent 60dbf33 commit a90e270
Showing 1 changed file with 1 addition and 1 deletion.
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`,
`https://${BASE_URL}/f/${firmId}/oauth/token`,
data
);
firmCredentials.storeNewTokenPair(firmId, response.data);
Expand Down

0 comments on commit a90e270

Please sign in to comment.