From 4423d3f52aefc46f00561c553c288dc65e206073 Mon Sep 17 00:00:00 2001 From: Laurent Date: Tue, 17 Dec 2024 16:11:26 +0100 Subject: [PATCH] simplify call --- LeStorage/StoreCenter.swift | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/LeStorage/StoreCenter.swift b/LeStorage/StoreCenter.swift index c23868e..dae2628 100644 --- a/LeStorage/StoreCenter.swift +++ b/LeStorage/StoreCenter.swift @@ -353,15 +353,15 @@ public class StoreCenter { } /// Executes an ApiCall - fileprivate func _executeApiCall(_ apiCall: ApiCall) - async throws -> V - { - return try await self.service().runApiCall(apiCall) - } +// fileprivate func _executeApiCall(_ apiCall: ApiCall) +// async throws -> V +// { +// return try await self.service().runApiCall(apiCall) +// } /// Executes an API call func execute(apiCall: ApiCall) async throws -> V { - return try await self._executeApiCall(apiCall) + return try await self.service().runApiCall(apiCall) } // MARK: - Api calls