Skip to content

Commit

Permalink
parse happ_ids for url
Browse files Browse the repository at this point in the history
  • Loading branch information
JettTech committed Feb 2, 2024
1 parent 3828dd4 commit e624548
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/services/servicelogApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ export async function hAppStats(payload, signature, pubkey, environment, service

export async function allHappStats(payload, signature, pubkey, environment, serviceLogPort) {
try {
const happIds = JSON.parse(payload.payload.happ_ids)
const result = await serviceLogApiCall({
params: { happ_ids: payload.payload.happ_ids, days: payload.payload.days },
params: { happ_ids: happIds, days: payload.payload.days },
endpoint: 'stats/happs',
},
signature,
Expand Down

0 comments on commit e624548

Please sign in to comment.