fix: revoke_token() bypasses _request() -- inconsistent error handling #12
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Problem
revoke_token()atsilo_client/__init__.py:393-403manually builds an HTTP request instead of using the shared_request()helper:This means it does not clear auth on 401 responses (which
_request()does).Fix
Replace with:
This is the same pattern already applied to
delete_bom_entry()in commit68a4139.References
68a4139: fix: use _request() in delete_bom_entry() for consistent error handling