From 084a2cb9e9f416a279b1259c6f68e879c3c018e1 Mon Sep 17 00:00:00 2001 From: Jenea Vranceanu <36865532+JeneaVranceanu@users.noreply.github.com> Date: Tue, 9 Jan 2024 00:29:01 +0200 Subject: [PATCH] chore: Update Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift --- .../Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift b/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift index 95ae1320b..83773275d 100644 --- a/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift +++ b/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift @@ -88,8 +88,8 @@ extension APIRequest { return urlRequest } - public static func send(_ method: String, parameter: [Encodable], with provider: Web3Provider) async throws -> APIResponse { - let body = RequestBody(method: method, params: parameter) + public static func send(_ method: String, parameters: [Encodable], with provider: Web3Provider) async throws -> APIResponse { + let body = RequestBody(method: method, params: parameters) let uRLRequest = setupRequest(for: body, with: provider) let data: Data