From 6b5032e10eb64c466e320f870b3cdad611b100d5 Mon Sep 17 00:00:00 2001 From: Karen Konou Date: Thu, 7 Feb 2019 22:38:54 +0100 Subject: [PATCH] made a silly oopsie --- lib/pleroma/web/thread_mute.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pleroma/web/thread_mute.ex b/lib/pleroma/web/thread_mute.ex index 50a6219d1..f2283cf86 100644 --- a/lib/pleroma/web/thread_mute.ex +++ b/lib/pleroma/web/thread_mute.ex @@ -15,7 +15,7 @@ defmodule Pleroma.Web.ThreadMute do def add_mute(user, id) do user_id = user.id %{data: %{"context" => context}} = Activity.get_by_id(id) - Pleroma.Repo.insert(%Pleroma.Web.ThreadMute{user: user_id, context: context}) + Pleroma.Repo.insert(%Pleroma.Web.ThreadMute{}, %{user: user_id, context: context}) end def remove_mute(user, id) do -- 2.45.2