From 178f59909f56743fed49e275bdaf639145bf973d Mon Sep 17 00:00:00 2001 From: Javier Cicchelli Date: Sun, 5 Oct 2025 12:35:23 +0000 Subject: [PATCH] Fixed a Swift 5.10 and Swift 6.0 compilation issue found on the "init(privateKey: publicKey: )" initializer function of the GenerateHashUseCase use case in the library target. (#6) This PR contains the work done to fix a [Swift 5.10](https://swiftpackageindex.com/builds/780C768F-B00B-4F96-90E7-BFB0D2E7C47E) and [Swift 6.0](https://swiftpackageindex.com/builds/4D0AA35C-1F9E-4725-A02F-03FACF74DE10) compilation issue found by the Swift Package Index. Reviewed-on: https://repo.rock-n-code.com/rock-n-code/marvel-service/pulls/6 Co-authored-by: Javier Cicchelli Co-committed-by: Javier Cicchelli --- .../MarvelService/Internal/Use Cases/GenerateHashUseCase.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/MarvelService/Internal/Use Cases/GenerateHashUseCase.swift b/Sources/MarvelService/Internal/Use Cases/GenerateHashUseCase.swift index f0803e08..71b3974a 100644 --- a/Sources/MarvelService/Internal/Use Cases/GenerateHashUseCase.swift +++ b/Sources/MarvelService/Internal/Use Cases/GenerateHashUseCase.swift @@ -34,7 +34,7 @@ struct GenerateHashUseCase { /// - publicKey: A public key. init( privateKey: String, - publicKey: String, + publicKey: String ) { self.privateKey = privateKey self.publicKey = publicKey