Skip to content

Commit ce64747

Browse files
committed
fix: getMaxAge is not used in APIHandlers
1 parent fbfb19a commit ce64747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime/src/templates/getApiHandler.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export const getApiHandler = ({
129129
const { Server } = require("http");
130130
// We copy the file here rather than requiring from the node module
131131
const { Bridge } = require("./bridge");
132-
const { getMaxAge, getMultiValueHeaders, getNextServer } = require('./handlerUtils')
132+
const { getMultiValueHeaders, getNextServer } = require('./handlerUtils')
133133
134134
${config.type === ApiRouteType.SCHEDULED ? `const { schedule } = require("@netlify/functions")` : ''}
135135

0 commit comments

Comments
 (0)