approve_or_disapprove_veto

@mount("votes.approve_or_disapprove_veto") operation approve_or_disapprove_veto(veto_id: rowid, is_approved: boolean)

Approves or disapproves a veto based on the citizen's decision.

Parameters

veto_id
  • The ID of the veto being approved or disapproved.

is_approved
  • A boolean indicating whether the veto is approved or disapproved.

Throws

UnauthorizedError
  • If the citizen does not have the appropriate authorization.

VetoNotFoundError
  • If the veto with the specified ID does not exist.