Skip to content

Commit ec36181

Browse files
committed
rename cache
1 parent 49b6dde commit ec36181

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/middleware/auth-n.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
import { APIGateway } from '@aws-sdk/client-api-gateway';
99

1010
const fiveMinutes = 5 * 60;
11-
const cache = cached('userEmail', {
11+
const cache = cached('apiKey', {
1212
backend: {
1313
type: 'memory'
1414
},

0 commit comments

Comments
 (0)