Skip to content

Commit

Permalink
fix: use correct name for the delete permission
Browse files Browse the repository at this point in the history
  • Loading branch information
drodil committed Dec 5, 2024
1 parent 82b5c8e commit 1a579d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/qeta-common/src/permissions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const qetaEditPostPermission = createPermission({
});

export const qetaDeletePostPermission = createPermission({
name: 'qeta.delete.question',
name: 'qeta.delete.post',
attributes: { action: 'delete' },
resourceType: POST_RESOURCE_TYPE,
});
Expand Down

0 comments on commit 1a579d3

Please sign in to comment.