Skip to content

Commit

Permalink
Update src/services/servicelogApi.js
Browse files Browse the repository at this point in the history
  • Loading branch information
robbiecarlton authored Sep 9, 2024
1 parent c9791e9 commit c6f4b1c
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/services/servicelogApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c6f4b1c

Please sign in to comment.