Skip to content

Commit 46fa45a

Browse files
AnaCodahannagracec
andauthored
HMT 53: Verify food tickets (#52)
Co-authored-by: hannagracec <[email protected]>
1 parent 302d0ec commit 46fa45a

File tree

19 files changed

+416
-3814
lines changed

19 files changed

+416
-3814
lines changed

amplify/data/resource.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const schema = a
8080
attended: a.hasMany("UserFoodEventAttendance", "foodEventId"),
8181
})
8282
.authorization((allow) => [
83-
allow.group("Admin"),
83+
allow.group("Admin").to(["create"]),
8484
allow.authenticated().to(["read"]),
8585
]),
8686
Team: a

0 commit comments

Comments
 (0)