From 57de51b29c4ab618bd1bcf8719edb211c6678f24 Mon Sep 17 00:00:00 2001 From: swag Date: Mon, 24 Apr 2023 15:30:42 -0400 Subject: [PATCH] cleanup --- lib/PostText/Model/Thread.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/PostText/Model/Thread.pm b/lib/PostText/Model/Thread.pm index 826fc0b..872540c 100644 --- a/lib/PostText/Model/Thread.pm +++ b/lib/PostText/Model/Thread.pm @@ -100,8 +100,7 @@ sub flag($self, $thread_id) { sub feed($self) { my $date_format = $self->date_format; - $self->pg->db - ->query(<<~'END_SQL', $date_format)->hashes; + $self->pg->db->query(<<~'END_SQL', $date_format)->hashes; SELECT t.thread_id AS id, TO_CHAR(t.thread_date, ?) AS date, t.thread_author AS author,