Skip to content

Commit 9930190

Browse files
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 2ba5a9b commit 9930190

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/header.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export async function addPermissions (req, res, next) {
130130
next()
131131
}
132132

133-
// Gets the permissions string for the given user and resource
133+
// Gets the permissions string for the given user
134134
async function getPermissionsFor (acl, user) {
135135
const accesses = MODES.map(mode => acl.can(user, mode))
136136
const allowed = await Promise.all(accesses)

0 commit comments

Comments
 (0)