Pleroma.Web.ActivityPub.Builder: fix dialyzer error
lib/pleroma/web/activity_pub/builder.ex:205:unknown_type Unknown type: Pleroma.Web.CommonAPI.ActivityDraft.t/0.
This commit is contained in:
parent
39da451b6d
commit
36355d3ed9
|
@ -14,6 +14,8 @@ defmodule Pleroma.Web.CommonAPI.ActivityDraft do
|
|||
import Pleroma.Web.Gettext
|
||||
import Pleroma.Web.Utils.Guards, only: [not_empty_string: 1]
|
||||
|
||||
@type t :: %__MODULE__{}
|
||||
|
||||
defstruct valid?: true,
|
||||
errors: [],
|
||||
user: nil,
|
||||
|
|
Loading…
Reference in New Issue