From 7bc1c2111296e6280ddb14bbbc4835b98e697a3f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Andrej=20Rama=C5=A1euski?= <andrej@x2.cz>
Date: Fri, 18 Dec 2020 20:58:00 +0100
Subject: [PATCH] Bugfix

---
 lib/CF/Controller/Posts.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/CF/Controller/Posts.pm b/lib/CF/Controller/Posts.pm
index 9d81960..c7f0d8d 100644
--- a/lib/CF/Controller/Posts.pm
+++ b/lib/CF/Controller/Posts.pm
@@ -55,7 +55,7 @@ sub get ($c) {
     }
 
     foreach my $history ( $post->history() ) {
-        push @{ $formatted->{historyLog} }, {
+        push @{ $formatted->{history_log} }, {
             attribute  => 'content',
             value      => $history->content,
             datetime   => $history->datetime,
-- 
GitLab