fix: typings for list payment method were incorrect (#11523)

This commit is contained in:
Stevche Radevski
2025-02-19 10:15:42 +01:00
committed by GitHub
parent 0c530e90c5
commit 3281613e22

View File

@@ -873,7 +873,7 @@ export interface IPaymentModuleService extends IModuleService {
*/
listPaymentMethods(
filters: FilterablePaymentMethodProps,
config: FindConfig<PaymentMethodDTO>,
config?: FindConfig<PaymentMethodDTO>,
sharedContext?: Context
): Promise<PaymentMethodDTO[]>
@@ -907,7 +907,7 @@ export interface IPaymentModuleService extends IModuleService {
*/
listAndCountPaymentMethods(
filters: FilterablePaymentMethodProps,
config: FindConfig<PaymentMethodDTO>,
config?: FindConfig<PaymentMethodDTO>,
sharedContext?: Context
): Promise<[PaymentMethodDTO[], number]>