diff --git a/packages/medusa/src/services/customer-group.ts b/packages/medusa/src/services/customer-group.ts index 2d06d738f21a5..385400795150e 100644 --- a/packages/medusa/src/services/customer-group.ts +++ b/packages/medusa/src/services/customer-group.ts @@ -258,7 +258,7 @@ class CustomerGroupService extends TransactionBaseService { private async handleCreationFail( id: string, - ids, + ids: string[], error: any ): Promise { if (error.code === PostgresError.FOREIGN_KEY_ERROR) {