docs: update imports of middlewares and http types (#9440)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user