Skip to content

Commit

Permalink
fix: bug with balance query and prop categories (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasDeco authored Jun 18, 2024
1 parent fe6939e commit 9e27f04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/client/indexer/balances.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export class FutarchyIndexerBalancesClient implements FutarchyBalancesClient {
publicKey: new PublicKey(proposal.proposal_acct),
state: proposal.status as ProposalState,
tags:
proposalDetail?.categories.map(
proposalDetail?.categories?.map(
(c: { category: string }) => c.category
) ?? [],
title: proposalDetail?.title ?? ""
Expand Down

0 comments on commit 9e27f04

Please sign in to comment.