feat(dashboard): manage groups from customer details (#7346)

This commit is contained in:
Frane Polić
2024-05-19 11:10:13 +02:00
committed by GitHub
parent 05e42bc6fc
commit ce75755ac6
11 changed files with 450 additions and 20 deletions
@@ -62,7 +62,7 @@ async function batchAddCustomers(
async function batchRemoveCustomers(
id: string,
payload: { customer_ids: { id: string }[] }
payload: { customer_ids: string[] }
) {
return postRequest<AdminCustomerGroupResponse>(
`/admin/customer-groups/${id}/customers`,