This is an automated email from the ASF dual-hosted git repository. gstein pushed a commit to branch trunk in repository https://gitbox.apache.org/repos/asf/steve.git
commit 600b33fd2f052381f8d85a65ab2c5605365335b6 Author: Greg Stein <[email protected]> AuthorDate: Fri Feb 20 04:54:44 2026 -0600 style: rename do_vote route to do-vote with dash Co-authored-by: aider (openrouter/x-ai/grok-code-fast-1) <[email protected]> --- v3/server/pages.py | 2 +- v3/server/templates/vote-on.ezt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/v3/server/pages.py b/v3/server/pages.py index d4f996e..da65fa9 100644 --- a/v3/server/pages.py +++ b/v3/server/pages.py @@ -367,7 +367,7 @@ async def do_set_close_at_endpoint(election): return await _set_election_date(election, 'close_at') [email protected]('/do_vote/<eid>') [email protected]('/do-vote/<eid>') @asfquart.auth.require({R.committer}) @load_election async def do_vote_endpoint(election): diff --git a/v3/server/templates/vote-on.ezt b/v3/server/templates/vote-on.ezt index 73cff96..f46cab0 100644 --- a/v3/server/templates/vote-on.ezt +++ b/v3/server/templates/vote-on.ezt @@ -116,7 +116,7 @@ return; } - fetch('/do_vote/[eid]', { + fetch('/do-vote/[eid]', { method: 'POST', headers: { 'Content-Type': 'application/json',
