diff --git a/apps/api/src/controllers/bleeter/bleeter-controller.ts b/apps/api/src/controllers/bleeter/bleeter-controller.ts index adb1f837e..d3a14234a 100644 --- a/apps/api/src/controllers/bleeter/bleeter-controller.ts +++ b/apps/api/src/controllers/bleeter/bleeter-controller.ts @@ -214,7 +214,7 @@ export class BleeterController { throw new NotFound("notFound"); } - if (post.userId !== user.id || !hasAdminPermissions) { + if (post.userId !== user.id && !hasAdminPermissions) { throw new Forbidden("notAllowedToDelete"); }