Skip to content

Commit

Permalink
Fix stream_asset (#296)
Browse files Browse the repository at this point in the history
  • Loading branch information
qryxip authored Jan 23, 2023
1 parent d777b31 commit 0e65de0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/api/repos/releases.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ impl<'octo, 'r> ReleasesHandler<'octo, 'r> {
use snafu::GenerateImplicitData;

let url = format!(
"repos/{owner}/{repo}/assets/{asset_id}",
"{base_url}repos/{owner}/{repo}/releases/assets/{asset_id}",
base_url = self.parent.crab.base_url,
owner = self.parent.owner,
repo = self.parent.repo,
asset_id = asset_id,
Expand Down

0 comments on commit 0e65de0

Please sign in to comment.