From d2cee15c15052d5e933c8dea5e238d5440621b3d Mon Sep 17 00:00:00 2001
From: Floatingghost <hannah@coffee-and-dreams.uk>
Date: Tue, 16 Apr 2024 03:07:28 +0100
Subject: [PATCH] mix format says no

---
 lib/pleroma/workers/worker_helper.ex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pleroma/workers/worker_helper.ex b/lib/pleroma/workers/worker_helper.ex
index 8aef24fa5..6d27151de 100644
--- a/lib/pleroma/workers/worker_helper.ex
+++ b/lib/pleroma/workers/worker_helper.ex
@@ -27,7 +27,7 @@ defmacro __using__(opts) do
     queue = Keyword.fetch!(opts, :queue)
     # by default just stop unintended duplicates - this can and should be overridden
     # if you want to have a more complex uniqueness constraint
-    uniqueness = Keyword.get(opts, :unique, [period: 1])
+    uniqueness = Keyword.get(opts, :unique, period: 1)
 
     quote do
       # Note: `max_attempts` is intended to be overridden in `new/2` call