docs: update imports of middlewares and http types (#9440)

This commit is contained in:
Shahed Nasser
2024-10-03 15:56:58 +00:00
committed by GitHub
parent a461e21ae7
commit 00a51b59b1
71 changed files with 213 additions and 213 deletions
+2 -2
View File
@@ -100,7 +100,7 @@ To execute the workflow, invoke it passing the Medusa container as a parameter.
import type {
MedusaRequest,
MedusaResponse,
} from "@medusajs/medusa"
} from "@medusajs/framework/http"
import myWorkflow from "../../../workflows/hello-world"
export async function GET(
@@ -125,7 +125,7 @@ To execute the workflow, invoke it passing the Medusa container as a parameter.
import {
type SubscriberConfig,
type SubscriberArgs,
} from "@medusajs/medusa"
} from "@medusajs/framework"
import myWorkflow from "../workflows/hello-world"
import { Modules } from "@medusajs/framework/utils"
import { IUserModuleService } from "@medusajs/framework/types"