Skip to content

Commit f476cc9

Browse files
committed
fix: incorrect sync url and param handling
1 parent 45e1342 commit f476cc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/synchronization.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export async function synchronization(client: AxiosInstance, params: SyncStack |
1515
config.params = { ...config.params, type: type.join(',') };
1616
}
1717

18-
let response: AxiosResponse = await getData(client, '/sync', { params: humps.decamelizeKeys(config) });
18+
let response: AxiosResponse = await getData(client, '/stack/sync', { params: humps.decamelizeKeys(config.params) });
1919
const data = response.data;
2020

2121
while (recursive && 'pagination_token' in response.data) {

0 commit comments

Comments
 (0)