From aca2d706fffa262d2b53ff2f16606663a08536cf Mon Sep 17 00:00:00 2001 From: Dariusz Rybicki <dariusz@elixxir.io> Date: Fri, 5 Aug 2022 10:38:14 +0100 Subject: [PATCH] Refactor --- Sources/ElixxirDAppsSDK/Functors/GetIdFromContact.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ElixxirDAppsSDK/Functors/GetIdFromContact.swift b/Sources/ElixxirDAppsSDK/Functors/GetIdFromContact.swift index da6fc00c..1055a69d 100644 --- a/Sources/ElixxirDAppsSDK/Functors/GetIdFromContact.swift +++ b/Sources/ElixxirDAppsSDK/Functors/GetIdFromContact.swift @@ -4,7 +4,7 @@ import XCTestDynamicOverlay public struct GetIdFromContact { public var run: (Data) throws -> Data - public func callAsFunction(contact: Data) throws -> Data { + public func callAsFunction(_ contact: Data) throws -> Data { try run(contact) } } -- GitLab