From c6f4b1c52e7e997bc410151811589290a17fe8ac Mon Sep 17 00:00:00 2001 From: Robbie Carlton Date: Mon, 9 Sep 2024 16:43:29 -0600 Subject: [PATCH] Update src/services/servicelogApi.js --- src/services/servicelogApi.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/services/servicelogApi.js b/src/services/servicelogApi.js index a2841e6..933ed84 100644 --- a/src/services/servicelogApi.js +++ b/src/services/servicelogApi.js @@ -6,17 +6,17 @@ async function serviceLogApiCall(args, signature, nonce, timestamp, pubkey, envi const { Codec } = await import('@holo-host/cryptolib') const url = serviceLogApiUrl(environment, serviceLogPort) - // return serviceApiHttpCall({ - // serviceUrl: url, - // headers: { - // "X-Nonce": nonce, - // "X-Timestamp": timestamp, - // "X-Pubkey": Codec.AgentId.encode(pubkey), - // "X-Signature": signature - // }, - // method: 'get', - // ...args - // }) + return serviceApiHttpCall({ + serviceUrl: url, + headers: { + "X-Nonce": nonce, + "X-Timestamp": timestamp, + "X-Pubkey": Codec.AgentId.encode(pubkey), + "X-Signature": signature + }, + method: 'get', + ...args + }) } export async function hAppServiceLogs(payload, signature, pubkey, environment, serviceLogPort) {