Skip to content

Commit

Permalink
fix get_asset url
Browse files Browse the repository at this point in the history
  • Loading branch information
Atrox authored and XAMPPRocky committed Aug 14, 2023
1 parent 37a7fcc commit 4b178a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/repos/releases.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl<'octo, 'r> ReleasesHandler<'octo, 'r> {
/// ```
pub async fn get_asset(&self, asset_id: AssetId) -> crate::Result<models::repos::Asset> {
let route = format!(
"/repos/{owner}/{repo}/assets/{asset_id}",
"/repos/{owner}/{repo}/releases/assets/{asset_id}",
owner = self.parent.owner,
repo = self.parent.repo,
asset_id = asset_id,
Expand Down

0 comments on commit 4b178a8

Please sign in to comment.