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
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ defmodule Pleroma.Web.ActivityPub.Publisher do
|
||||||
@doc """
|
@doc """
|
||||||
Enqueue publishing a single activity.
|
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
|
def enqueue_one(%{} = params, worker_args \\ []) do
|
||||||
PublisherWorker.enqueue(
|
PublisherWorker.enqueue(
|
||||||
"publish_one",
|
"publish_one",
|
||||||
|
|
Loading…
Reference in a new issue