diff --git a/src/services/servicelogApi.js b/src/services/servicelogApi.js index 91b883e..f624c1e 100644 --- a/src/services/servicelogApi.js +++ b/src/services/servicelogApi.js @@ -69,7 +69,6 @@ export async function hAppStats(payload, signature, pubkey, environment, service export async function allHappStats(payload, signature, pubkey, environment, serviceLogPort) { try { - console.log('PAYLOAD that was signed: ', payload) const happIds = JSON.parse(payload.payload.happ_ids) const result = await serviceLogApiCall({ params: { happ_ids: happIds, days: payload.payload.days }, diff --git a/src/stores/useHoloStore.js b/src/stores/useHoloStore.js index 8c621ed..4c1af96 100644 --- a/src/stores/useHoloStore.js +++ b/src/stores/useHoloStore.js @@ -136,7 +136,7 @@ const makeUseHoloStore = ({ connectionArgs, MockWebSdk }) => defineStore('holo', // NB: The happ_ids param needs to be a string to succeed the msgpack serialization // and validation check in the server. const happIdsString = JSON.stringify(happIds) - const payload = generateServiceLogPayload({ "happ_ids": happIdsString, "days": days.toString() }) + const payload = generateServiceLogPayload({ "days": days.toString(), "happ_ids": happIdsString }) const { _, signature } = await client.signPayload(payload) const hAppStatistics = await allHappStats(payload, signature, this.agentKey, environment, serviceLogPort)