From: Maksim Pechnikov Date: Wed, 4 Dec 2019 06:53:01 +0000 (+0300) Subject: add @type to ScheduledActivity X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=3a0a400fe154f44ab37b79eeb3a07f919517743e;p=akkoma add @type to ScheduledActivity --- diff --git a/lib/pleroma/scheduled_activity.ex b/lib/pleroma/scheduled_activity.ex index 96fa6a987..ea78dce6a 100644 --- a/lib/pleroma/scheduled_activity.ex +++ b/lib/pleroma/scheduled_activity.ex @@ -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