From 3281613e22304cebafa17a9a49e6ac97ec42c88f Mon Sep 17 00:00:00 2001 From: Stevche Radevski Date: Wed, 19 Feb 2025 10:15:42 +0100 Subject: [PATCH] fix: typings for list payment method were incorrect (#11523) --- packages/core/types/src/payment/service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/types/src/payment/service.ts b/packages/core/types/src/payment/service.ts index bd5ea6ac44..1075ef16d3 100644 --- a/packages/core/types/src/payment/service.ts +++ b/packages/core/types/src/payment/service.ts @@ -873,7 +873,7 @@ export interface IPaymentModuleService extends IModuleService { */ listPaymentMethods( filters: FilterablePaymentMethodProps, - config: FindConfig, + config?: FindConfig, sharedContext?: Context ): Promise @@ -907,7 +907,7 @@ export interface IPaymentModuleService extends IModuleService { */ listAndCountPaymentMethods( filters: FilterablePaymentMethodProps, - config: FindConfig, + config?: FindConfig, sharedContext?: Context ): Promise<[PaymentMethodDTO[], number]>