fix somw bug

This commit is contained in:
2026-07-21 16:58:21 +03:30
parent cb50119f56
commit 8d7c7a5693
4 changed files with 157 additions and 43 deletions
+5 -2
View File
@@ -44,8 +44,11 @@ export interface PargarSyncWalletResult {
}
}
export const syncCustomerWalletFromPargar = async (customerId: number) =>
await useAxios.post<PargarSyncWalletResult>(`/admin/customer/${customerId}/pargar/sync-wallet`)
export const syncCustomerWalletFromPargar = async (customerId: number, force = false) =>
await useAxios.post<PargarSyncWalletResult>(
`/admin/customer/${customerId}/pargar/sync-wallet`,
{ force }
)
export interface PanelOnlyCustomer {
id: number