Skip to content

fix: do not double encode auth when retrieving release assets#321

Merged
josegonzalez merged 1 commit into
josegonzalez:masterfrom
jarltotland:master
Jul 29, 2024
Merged

fix: do not double encode auth when retrieving release assets#321
josegonzalez merged 1 commit into
josegonzalez:masterfrom
jarltotland:master

Conversation

@jarltotland
Copy link
Copy Markdown

Downloading release assets while using --as-app failed, due to auth string being encoded twice. Both in backup_releases() and again in _construct_request(). This caused the output "'bytes' object has no attribute 'encode'".

This PR modifies backup_releases() get_auth call to match retrieve_data_gen() get_auth which is used for most other calls.

@josegonzalez josegonzalez merged commit e774c70 into josegonzalez:master Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants