@thecorporation/cli 26.3.32 → 26.3.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -7679,11 +7679,13 @@ var init_governance = __esm({
7679
7679
  if (meetingStatus !== "convened") {
7680
7680
  await ctx.client.conveneMeeting(meetingId, eid, { present_seat_ids: seatIds });
7681
7681
  }
7682
- for (const seatId of seatIds) {
7682
+ for (const seat of filledSeats) {
7683
+ const voterId = String(seat.holder_id);
7684
+ if (!voterId) continue;
7683
7685
  try {
7684
7686
  await ctx.client.castVote(eid, meetingId, itemId, {
7685
- seat_id: seatId,
7686
- vote: "for"
7687
+ voter_id: voterId,
7688
+ vote_value: "for"
7687
7689
  });
7688
7690
  } catch {
7689
7691
  }