Skip to content

The complete open source platform to run your entire marketplace. Storefront, vendor panel, admin console, and integrations in one enterprise-grade platform you own.

472 B
Raw Blame
import { StepResponse, createStep } from "@medusajs/framework/workflows-sdk"

import { resolveConnector } from "../../../utils/payout-module"

export const resolveAlertingStepId = "resolve-stripe-alerting"

export const resolveAlertingStep = createStep(resolveAlertingStepId, async (_, { container }) => {
  const { alerting } = resolveConnector(container).getOptions()
  return new StepResponse({ email: alerting.technicalEmail ?? null, from: alerting.from ?? null })
})