fix somw bug
This commit is contained in:
+5
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user