Skip to content

Commit 69be2dd

Browse files
committed
fix(yapay): Fix setting token_account on Yapay API requests
1 parent 8f755ae commit 69be2dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/apps/yapay/src/util/yapay-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const getYapayAxios = async () => {
1111
});
1212
yapayAxios.interceptors.request.use((config) => {
1313
if (config.data && typeof config.data === 'object' && !config.data.token) {
14-
config.data.token = YAPAY_API_TOKEN;
14+
config.data.token_account = YAPAY_API_TOKEN;
1515
} else {
1616
config.params = {
1717
token_account: YAPAY_API_TOKEN,

0 commit comments

Comments
 (0)