🐛 Rename perm node

This commit is contained in:
2024-07-06 16:46:59 +08:00
parent e3eaa5ba20
commit b5b2e3cde9
2 changed files with 25 additions and 26 deletions

View File

@ -93,7 +93,7 @@ func createAttachment(c *fiber.Ctx) error {
return err
}
if err := gap.H.EnsureGrantedPerm(c, "CreatePaperclipAttachments", file.Size); err != nil {
if err := gap.H.EnsureGrantedPerm(c, "CreateAttachments", file.Size); err != nil {
return err
}