Make the opts in ActivityPub.Builder.block optional
This commit is contained in:
parent
a817f1800e
commit
8ae4ed0807
1 changed files with 1 additions and 1 deletions
|
|
@ -328,7 +328,7 @@ defmodule Pleroma.Web.ActivityPub.Builder do
|
|||
end
|
||||
|
||||
@spec block(User.t(), User.t(), map()) :: {:ok, map(), keyword()}
|
||||
def block(blocker, blocked, params) do
|
||||
def block(blocker, blocked, params \\ %{}) do
|
||||
{:ok,
|
||||
%{
|
||||
"id" => Utils.generate_activity_id(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue