From fbb35d3b3accb2a186dd841d10de8007710611a5 Mon Sep 17 00:00:00 2001 From: Luna D Date: Thu, 24 Mar 2022 18:15:52 +0100 Subject: [PATCH] derp --- lib/philomena/posts/elasticsearch_index.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/philomena/posts/elasticsearch_index.ex b/lib/philomena/posts/elasticsearch_index.ex index 395965ce..43a14284 100644 --- a/lib/philomena/posts/elasticsearch_index.ex +++ b/lib/philomena/posts/elasticsearch_index.ex @@ -65,7 +65,7 @@ defmodule Philomena.Posts.ElasticsearchIndex do deleted: post.hidden_from_users, access_level: post.topic.forum.access_level, destroyed_content: post.destroyed_content, - approved: post.topic.approved && post.approved + approved: post.approved } end