From bcb5c316b9afb5f97195858ec5f498a6aafda107 Mon Sep 17 00:00:00 2001 From: adrien2p Date: Wed, 19 Oct 2022 11:22:47 +0200 Subject: [PATCH] type --- packages/medusa/src/services/customer-group.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {