From bfd533faf35ed65d11d99fb1d351f1d1778f9181 Mon Sep 17 00:00:00 2001 From: Dariusz Rybicki <dariusz@elixxir.io> Date: Mon, 8 Aug 2022 18:22:58 +0100 Subject: [PATCH] Fix RestlikeRequest functor --- Sources/ElixxirDAppsSDK/Functors/RestlikeRequest.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/ElixxirDAppsSDK/Functors/RestlikeRequest.swift b/Sources/ElixxirDAppsSDK/Functors/RestlikeRequest.swift index a0e442e1..cf50438c 100644 --- a/Sources/ElixxirDAppsSDK/Functors/RestlikeRequest.swift +++ b/Sources/ElixxirDAppsSDK/Functors/RestlikeRequest.swift @@ -23,7 +23,7 @@ extension RestlikeRequest { var error: NSError? let responseData: Data? if authenticated { - responseData = BindingsRestlikeRequest( + responseData = BindingsRestlikeRequestAuth( clientId, connectionId, requestData, @@ -31,7 +31,7 @@ extension RestlikeRequest { &error ) } else { - responseData = BindingsRestlikeRequestAuth( + responseData = BindingsRestlikeRequest( clientId, connectionId, requestData, -- GitLab