Skip to content

Commit

Permalink
update get value func
Browse files Browse the repository at this point in the history
  • Loading branch information
99Kies committed Aug 9, 2024
1 parent 4f68cdc commit eab22ea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/mappings/mappingHandlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,9 @@ export async function handleBatchVoteEvent(event: CosmosEvent): Promise<void> {
let sender = event.event.attributes.find(attr => attr.key === 'sender')
?.value!;

let projects = event.event.attributes.find(attr => attr.key === 'projects')
?.value!;
let projects = event.event.attributes
.find(attr => attr.key === 'projects')
?.value.toString()!;

let parseProjects = parseString(projects);

Expand Down

0 comments on commit eab22ea

Please sign in to comment.