fix: trailing slash on all collection POST calls #75
No reviewers
Labels
No Label
ai-changes-requested
ai-pr-opened
ai-reviewed
ai-reviewing
ai-working
in-next-release
status/in-progress
status/pr-open
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cal/major-domo-v2#75
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/trailing-slash-307-redirect"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
_build_url(broke custom commands with 401)client.post()calls targeting collection endpointsplay_service,decision_service,base_service.create(),transaction_service,injury_service,draft_list_service(5 call sites)games/wipe/{id},custom_commands/creators,standings/s{season}/recalculate) correctly left without trailing slashContext
aiohttp follows 307 redirects but converts POST→GET, silently dropping the request body. The database API now standardizes all collection POST routes on
'/'(see cal/major-domo-database PR). This PR ensures the bot always POSTs with matching trailing slashes.Companion PR: cal/major-domo-database (fix/standardize-post-trailing-slashes)
Test plan
client.post()calls audited for correct trailing slash usage🤖 Generated with Claude Code