[#1505] Fixed @spec for Queries.by_object_in_reply_to_id/3
authorIvan Tashkinov <ivantashkinov@gmail.com>
Thu, 20 Feb 2020 11:48:46 +0000 (14:48 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Thu, 20 Feb 2020 11:48:46 +0000 (14:48 +0300)
lib/pleroma/activity/queries.ex

index c17affec98501b973f346b259793b57d8ce73d9c..363727c80269567041bc3fcc7b657e63fe5c5233 100644 (file)
@@ -63,7 +63,7 @@ defmodule Pleroma.Activity.Queries do
     )
   end
 
-  @spec by_object_id(query, String.t()) :: query
+  @spec by_object_in_reply_to_id(query, String.t(), keyword()) :: query
   def by_object_in_reply_to_id(query, in_reply_to_id, opts \\ []) do
     query =
       if opts[:skip_preloading] do