Skip to content

Commit d0343b8

Browse files
danezkodiakhq[bot]
andauthored
fix: getMaxAge is not used in APIHandlers (#1888)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 138b19d commit d0343b8

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)