Skip to content

Commit 87ebfe7

Browse files
gentksbtakagenhbuchel
authored
function: delete unnecessary "/" when authorize for storage access (#7621)
* remove unnecessary '/' * Update src/pages/[platform]/build-a-backend/functions/grant-access-to-other-resources/index.mdx --------- Co-authored-by: takagen <[email protected]> Co-authored-by: Heather Buchel <[email protected]>
1 parent d9fe9f5 commit 87ebfe7

File tree

1 file changed

+1
-1
lines changed
  • src/pages/[platform]/build-a-backend/functions/grant-access-to-other-resources

1 file changed

+1
-1
lines changed

src/pages/[platform]/build-a-backend/functions/grant-access-to-other-resources/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ import { generateMonthlyReports } from '../functions/generate-monthly-reports/re
5353
export const storage = defineStorage({
5454
name: 'myReports',
5555
access: (allow) => ({
56-
'/reports/*': [
56+
'reports/*': [
5757
allow.resource(generateMonthlyReports).to(['read', 'write', 'delete'])
5858
]
5959
})

0 commit comments

Comments
 (0)