From 8b09c944ea89ed65f1e9b539ba93774395eaba24 Mon Sep 17 00:00:00 2001 From: swag Date: Fri, 2 Jun 2023 17:17:02 -0400 Subject: [PATCH] Whoopsie --- lib/PostText/Controller/Moderator.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/PostText/Controller/Moderator.pm b/lib/PostText/Controller/Moderator.pm index 4a22bd1..fab5c2a 100644 --- a/lib/PostText/Controller/Moderator.pm +++ b/lib/PostText/Controller/Moderator.pm @@ -348,7 +348,7 @@ sub remark_by_id($self) { $self->stash(remark => $remark); - $self->stash(error => 'Remark not found 🤷') + $self->stash(status => 404, error => 'Remark not found 🤷') unless keys %{$remark}; $self->render;