diff --git a/packages/backend-core/src/middleware/csrf.ts b/packages/backend-core/src/middleware/csrf.ts index 2419cca9c5..907c53a87d 100644 --- a/packages/backend-core/src/middleware/csrf.ts +++ b/packages/backend-core/src/middleware/csrf.ts @@ -1,7 +1,7 @@ import { Header } from "../constants" import { buildMatcherRegex, matches } from "./matchers" import { Ctx, EndpointMatcher } from "@budibase/types" -import { Middleware, Next } from "koa" +import type { Middleware, Next } from "koa" /** * GET, HEAD and OPTIONS methods are considered safe operations