Conversation: Render new participation on update.
This commit is contained in:
parent
df81abb68c
commit
f73212b2a3
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ def update_conversation(
|
|||
|> Participation.get()
|
||||
|
||||
with true <- user.id == participation.user_id,
|
||||
{:ok, _} <- Participation.set_recipients(participation, recipients) do
|
||||
{:ok, participation} <- Participation.set_recipients(participation, recipients) do
|
||||
conn
|
||||
|> put_view(ConversationView)
|
||||
|> render("participation.json", %{participation: participation, for: user})
|
||||
|
|
Loading…
Reference in a new issue