From b5369a4ff1fa77a6e7af1f96245d65fa6548f619 Mon Sep 17 00:00:00 2001 From: Stevche Radevski Date: Thu, 15 Feb 2024 13:09:21 +0100 Subject: [PATCH] docs(payments): Fix incorrect reference in payment processor tsdoc --- packages/medusa/src/interfaces/payment-processor.ts | 2 +- packages/utils/src/payment/abstract-payment-provider.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/medusa/src/interfaces/payment-processor.ts b/packages/medusa/src/interfaces/payment-processor.ts index 58d08e53c9..6e9eb03614 100644 --- a/packages/medusa/src/interfaces/payment-processor.ts +++ b/packages/medusa/src/interfaces/payment-processor.ts @@ -653,7 +653,7 @@ export abstract class AbstractPaymentProcessor implements PaymentProcessor { * you can access it in the constructor. The options are passed as a second parameter. * * @param {Record} container - An instance of `MedusaContainer` that allows you to access other resources, such as services, in your Medusa backend through [dependency injection](https://docs.medusajs.com/development/fundamentals/dependency-injection) - * @param {Record} config - If this fulfillment provider is created in a plugin, the plugin's options are passed in this parameter. + * @param {Record} config - If this payment processor is created in a plugin, the plugin's options are passed in this parameter. * * @example * ```ts diff --git a/packages/utils/src/payment/abstract-payment-provider.ts b/packages/utils/src/payment/abstract-payment-provider.ts index 87d5c464e1..fafb9defa9 100644 --- a/packages/utils/src/payment/abstract-payment-provider.ts +++ b/packages/utils/src/payment/abstract-payment-provider.ts @@ -18,7 +18,7 @@ export abstract class AbstractPaymentProvider implements IPaymentProvider { * you can access it in the constructor. The options are passed as a second parameter. * * @param {MedusaContainer} container - An instance of `MedusaContainer` that allows you to access other resources, such as services, in your Medusa backend through [dependency injection](https://docs.medusajs.com/development/fundamentals/dependency-injection) - * @param {Record} config - If this fulfillment provider is created in a plugin, the plugin's options are passed in this parameter. + * @param {Record} config - If this payment processor is created in a plugin, the plugin's options are passed in this parameter. * * @example * ```ts