diff --git a/packages/runtime/src/templates/getApiHandler.ts b/packages/runtime/src/templates/getApiHandler.ts index b0b82bd76c..81d40e0674 100644 --- a/packages/runtime/src/templates/getApiHandler.ts +++ b/packages/runtime/src/templates/getApiHandler.ts @@ -129,7 +129,7 @@ export const getApiHandler = ({ const { Server } = require("http"); // We copy the file here rather than requiring from the node module const { Bridge } = require("./bridge"); - const { getMaxAge, getMultiValueHeaders, getNextServer } = require('./handlerUtils') + const { getMultiValueHeaders, getNextServer } = require('./handlerUtils') ${config.type === ApiRouteType.SCHEDULED ? `const { schedule } = require("@netlify/functions")` : ''}