activity_draft: mark new/2 as private

This commit is contained in:
Oneric 2024-04-23 23:12:39 +02:00
parent 34a48cb87f
commit 873aa9da1c

View file

@ -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