mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-22 16:16:34 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue