From 8706ec0d2e4e1dc70b4ea92e6946f2f646e94912 Mon Sep 17 00:00:00 2001 From: Adam Fowler Date: Mon, 11 Mar 2024 09:02:59 +0000 Subject: [PATCH] Require id parameter in registerJob --- Sources/HummingbirdJobs/JobQueue.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/HummingbirdJobs/JobQueue.swift b/Sources/HummingbirdJobs/JobQueue.swift index f67356824..b13cf0d24 100644 --- a/Sources/HummingbirdJobs/JobQueue.swift +++ b/Sources/HummingbirdJobs/JobQueue.swift @@ -55,7 +55,7 @@ public struct JobQueue: Service { /// - maxRetryCount: Maximum number of times job is retried before being flagged as failed /// - execute: Job code public func registerJob( - _ id: JobIdentifier, + id: HBJobIdentifier, maxRetryCount: Int = 0, execute: @escaping @Sendable ( Parameters,