Streamer: Fix wrong argument order when rendering activities to authenticated user
Closes #1747
This commit is contained in:
parent
b7635bf2b6
commit
eb1f2fcbc6
2 changed files with 2 additions and 2 deletions
|
|
@ -25,7 +25,7 @@ defmodule Pleroma.Web.StreamerView do
|
|||
|> Jason.encode!()
|
||||
end
|
||||
|
||||
def render("notification.json", %User{} = user, %Notification{} = notify) do
|
||||
def render("notification.json", %Notification{} = notify, %User{} = user) do
|
||||
%{
|
||||
event: "notification",
|
||||
payload:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue