From 4cb00d1d0e1600725ed1c5e7489211b185f9414f Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Mon, 26 Oct 2020 17:50:26 -0400 Subject: [PATCH] error on restoring forum post (fixes philomena-dev/philomena#59) --- lib/philomena/posts.ex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/philomena/posts.ex b/lib/philomena/posts.ex index 9a0ebb34..7c9340ec 100644 --- a/lib/philomena/posts.ex +++ b/lib/philomena/posts.ex @@ -199,6 +199,8 @@ defmodule Philomena.Posts do {:ok, post} -> reindex_post(post) + {:ok, post} + error -> error end