Fix invalid type
lib/pleroma/web/activity_pub/publisher.ex:31:unknown_type Unknown type: Map.t/0.
This commit is contained in:
parent
ec5ae83da6
commit
4f07116108
|
@ -28,7 +28,7 @@ defmodule Pleroma.Web.ActivityPub.Publisher do
|
|||
@doc """
|
||||
Enqueue publishing a single activity.
|
||||
"""
|
||||
@spec enqueue_one(Map.t(), Keyword.t()) :: {:ok, %Oban.Job{}}
|
||||
@spec enqueue_one(map(), Keyword.t()) :: {:ok, %Oban.Job{}}
|
||||
def enqueue_one(%{} = params, worker_args \\ []) do
|
||||
PublisherWorker.enqueue(
|
||||
"publish_one",
|
||||
|
|
Loading…
Reference in New Issue