chore: Move admin invites + user tests to HTTP (#7596)

This commit is contained in:
Oli Juhl
2024-06-04 10:53:01 +02:00
committed by GitHub
parent c38f6d07c2
commit ce40fe88f5
6 changed files with 261 additions and 622 deletions
@@ -1,5 +1,6 @@
import { ModuleRegistrationName } from "@medusajs/modules-sdk"
import { ApiKeyDTO, ConfigModule, IApiKeyModuleService } from "@medusajs/types"
import { ContainerRegistrationKeys } from "@medusajs/utils"
import { NextFunction, RequestHandler } from "express"
import jwt, { JwtPayload } from "jsonwebtoken"
import {
@@ -8,7 +9,6 @@ import {
MedusaRequest,
MedusaResponse,
} from "../../types/routing"
import { ContainerRegistrationKeys } from "@medusajs/utils"
const SESSION_AUTH = "session"
const BEARER_AUTH = "bearer"