Skip to content

Commit

Permalink
Updated error.
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSaso committed Jan 8, 2024
1 parent 024da55 commit b12595d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/formulas/generic/gov.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const proposal: GenericFormula<
> = {
compute: async ({ getProposal, args: { id } }) => {
if (!id) {
throw new Error('missing `proposalId`')
throw new Error('missing `id`')
}

return await getProposal(id)
Expand Down

0 comments on commit b12595d

Please sign in to comment.