mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-11-13 12:31:13 +00:00
Dialyzer: fix typespec
This commit is contained in:
parent
69482004fc
commit
a008005bdd
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ defmodule Pleroma.Web.ActivityPub.Pipeline do
|
|||
defp config, do: Config.get([:pipeline, :config], Config)
|
||||
|
||||
@spec common_pipeline(map(), keyword()) ::
|
||||
{:ok, Activity.t() | Object.t(), keyword()} | {:error, any()}
|
||||
{:ok, Activity.t() | Object.t(), keyword()} | {:error | :reject, any()}
|
||||
def common_pipeline(object, meta) do
|
||||
case Repo.transaction(fn -> do_common_pipeline(object, meta) end, Utils.query_timeout()) do
|
||||
{:ok, {:ok, activity, meta}} ->
|
||||
|
|
Loading…
Reference in a new issue