fix: merge_pull_request uses wrong parameter name (do vs merge_strategy) #6
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/5-merge-pr-parameter"
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?
Fixes #5 - Gitea API expects
{"do": "merge"}instead of{"merge_strategy": "merge"}in the merge_pull_request function.Note: The gitea/dev.py file on this branch may need to be restored from main and the fix re-applied, as there was a corruption issue during file update.
Gitea API expects {"do": "merge"} instead of {"merge_strategy": "merge"}. This was causing HTTP 422 errors when attempting to merge PRs. Refs: #5Pull request closed