From ccb6b3277d6ea3032f3250c0742b8a901b350f1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milo=C5=A1=20Jovanovi=C4=87?= Date: Thu, 24 Sep 2026 19:45:08 -0700 Subject: [PATCH] fix logs so they show both rep ids --- reconcile.go | 2 +- test.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/reconcile.go b/reconcile.go index 53b063b..34492c1 100644 --- a/reconcile.go +++ b/reconcile.go @@ -17,7 +17,7 @@ func (s *Server) reconcile(ctx context.Context, runID int64, rep *User, dept str } if len(reps) > 1 { log.Printf("run %d: %d reps for chapter %d dept %q; splitting round-robin across %v", - runID, len(reps), rep.ChapterID, dept, reps[0]) + runID, len(reps), rep.ChapterID, dept, reps) } members, err := s.store.EligibleMembers(rep.ChapterID, dept) diff --git a/test.sh b/test.sh index e971e06..cd7fdff 100755 --- a/test.sh +++ b/test.sh @@ -1,3 +1,5 @@ -ST_KEY='5dc47e1aaa92c7cc8b9a627dd405ea8426475cc268623df0ad20112c47859c85ad4eca5a9cf3441ea1129c114d9126aab17ef220a15f12227611ade0a85b3167' +ST_API_KEY='5dc47e1aaa92c7cc8b9a627dd405ea8426475cc268623df0ad20112c47859c85ad4eca5a9cf3441ea1129c114d9126aab17ef220a15f12227611ade0a85b3167' ST=https://api.solidarity.tech/v1 +ELIGIBLE_APPOINTMENTS="senate,recall" +DRY_RUN=1 curl -sS -g -H "Authorization: Bearer $ST_KEY" -H "Accept: application/json" "$ST/$1"