commit: 4f0711610896cb76322d0f527cbea5ed9d0ef474
parent ec5ae83da6f3b630f174288cf3687bf12cee9787
Author: Mark Felder <feld@feld.me>
Date: Sat, 20 Jan 2024 17:32:19 -0500
Fix invalid type
lib/pleroma/web/activity_pub/publisher.ex:31:unknown_type
Unknown type: Map.t/0.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/pleroma/web/activity_pub/publisher.ex b/lib/pleroma/web/activity_pub/publisher.ex
@@ -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",