diff --git a/Sources/XXClient/Functors/GetFactsFromContact.swift b/Sources/XXClient/Functors/GetFactsFromContact.swift index 697f799741f21feec1aba79346d6d842b7cc2338..84f0874946656dc6abcce91f127c6d35c869f5f5 100644 --- a/Sources/XXClient/Functors/GetFactsFromContact.swift +++ b/Sources/XXClient/Functors/GetFactsFromContact.swift @@ -4,7 +4,7 @@ import XCTestDynamicOverlay public struct GetFactsFromContact { public var run: (Data) throws -> [Fact] - public func callAsFunction(contact: Data) throws -> [Fact] { + public func callAsFunction(_ contact: Data) throws -> [Fact] { try run(contact) } } diff --git a/Sources/XXClient/Functors/GetPublicKeyFromContact.swift b/Sources/XXClient/Functors/GetPublicKeyFromContact.swift index 1ec9acaa82fa6d0f8dc2b6ee484706c99af757c0..a1fd2b89b3ceb8075c8857c95c98388b9bab80fc 100644 --- a/Sources/XXClient/Functors/GetPublicKeyFromContact.swift +++ b/Sources/XXClient/Functors/GetPublicKeyFromContact.swift @@ -4,7 +4,7 @@ import XCTestDynamicOverlay public struct GetPublicKeyFromContact { public var run: (Data) throws -> Data - public func callAsFunction(contact: Data) throws -> Data { + public func callAsFunction(_ contact: Data) throws -> Data { try run(contact) } }