diff --git a/lib/philomena_web/controllers/topic/post_controller.ex b/lib/philomena_web/controllers/topic/post_controller.ex index df6b62c1..535c6cff 100644 --- a/lib/philomena_web/controllers/topic/post_controller.ex +++ b/lib/philomena_web/controllers/topic/post_controller.ex @@ -39,7 +39,11 @@ defmodule PhilomenaWeb.Topic.PostController do PhilomenaWeb.Endpoint.broadcast!( "firehose", "post:create", - PhilomenaWeb.Api.Json.Forum.Topic.PostView.render("firehose.json", %{post: post, topic: topic, forum: forum}) + PhilomenaWeb.Api.Json.Forum.Topic.PostView.render("firehose.json", %{ + post: post, + topic: topic, + forum: forum + }) ) end diff --git a/lib/philomena_web/controllers/topic_controller.ex b/lib/philomena_web/controllers/topic_controller.ex index 9d781676..79d16d64 100644 --- a/lib/philomena_web/controllers/topic_controller.ex +++ b/lib/philomena_web/controllers/topic_controller.ex @@ -112,7 +112,11 @@ defmodule PhilomenaWeb.TopicController do PhilomenaWeb.Endpoint.broadcast!( "firehose", "post:create", - PhilomenaWeb.Api.Json.Forum.Topic.PostView.render("firehose.json", %{post: post, topic: topic, forum: forum}) + PhilomenaWeb.Api.Json.Forum.Topic.PostView.render("firehose.json", %{ + post: post, + topic: topic, + forum: forum + }) ) end