add @type to ScheduledActivity
authorMaksim Pechnikov <parallel588@gmail.com>
Wed, 4 Dec 2019 06:53:01 +0000 (09:53 +0300)
committerMaksim Pechnikov <parallel588@gmail.com>
Wed, 4 Dec 2019 06:53:01 +0000 (09:53 +0300)
lib/pleroma/scheduled_activity.ex

index 96fa6a987c9a4a64752fc7019f6f76869868e76c..ea78dce6a4749df2ed91c73443fa04a05786d467 100644 (file)
@@ -16,6 +16,8 @@ defmodule Pleroma.ScheduledActivity do
   import Ecto.Query
   import Ecto.Changeset
 
+  @type t :: %__MODULE__{}
+
   @min_offset :timer.minutes(5)
 
   schema "scheduled_activities" do