Type fixes.
This commit is contained in:
parent
ce08276250
commit
2a31aca37a
|
@ -1,7 +1,7 @@
|
|||
import { UserCtx } from "@budibase/types"
|
||||
import { checkMissingMigrations } from "../appMigrations"
|
||||
import env from "../environment"
|
||||
import { Middleware, Next } from "koa"
|
||||
import type { Middleware, Next } from "koa"
|
||||
|
||||
const middleware = (async (ctx: UserCtx, next: Next) => {
|
||||
const { appId } = ctx
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { Ctx } from "@budibase/types"
|
||||
import { context } from "@budibase/backend-core"
|
||||
import { tracer } from "dd-trace"
|
||||
import { Middleware, Next } from "koa"
|
||||
import type { Middleware, Next } from "koa"
|
||||
|
||||
const middleware = (async (ctx: Ctx, next: Next) => {
|
||||
const resp = await next()
|
||||
|
|
|
@ -13,7 +13,7 @@ import env from "../environment"
|
|||
import { isWebhookEndpoint, isBrowser, isApiKey } from "./utils"
|
||||
import { UserCtx, ContextUser } from "@budibase/types"
|
||||
import tracer from "dd-trace"
|
||||
import { Middleware, Next } from "koa"
|
||||
import type { Middleware, Next } from "koa"
|
||||
|
||||
const middleware = (async (ctx: UserCtx, next: Next) => {
|
||||
// try to get the appID from the request
|
||||
|
|
Loading…
Reference in New Issue