From 6371296246e428eca8f859953e56313da695e86f Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Thu, 5 Dec 2024 14:06:58 +0000 Subject: [PATCH] Adding type keyword. --- packages/backend-core/src/middleware/csrf.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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