forked from AkkomaGang/akkoma
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,
|
preview?: false,
|
||||||
changes: %{}
|
changes: %{}
|
||||||
|
|
||||||
def new(user, params) do
|
defp new(user, params) do
|
||||||
%__MODULE__{user: user}
|
%__MODULE__{user: user}
|
||||||
|> put_params(params)
|
|> put_params(params)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue