activity_draft: mark new/2 as private
This commit is contained in:
parent
34a48cb87f
commit
873aa9da1c
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ defmodule Pleroma.Web.CommonAPI.ActivityDraft do
|
|||
preview?: false,
|
||||
changes: %{}
|
||||
|
||||
def new(user, params) do
|
||||
defp new(user, params) do
|
||||
%__MODULE__{user: user}
|
||||
|> put_params(params)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue