Skip to content

Commit 94a62f7

Browse files
committed
fix apikey auth rules
1 parent 48b0bfb commit 94a62f7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

amplify/data/resource.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -311,10 +311,6 @@ export const data = defineData({
311311
schema,
312312
authorizationModes: {
313313
defaultAuthorizationMode: "userPool",
314-
// API Key is used for a.allow.public() rules
315-
apiKeyAuthorizationMode: {
316-
expiresInDays: 30,
317-
},
318314
lambdaAuthorizationMode: {
319315
function: DemoAuthFunction,
320316
},

0 commit comments

Comments
 (0)