Skip to content

Commit

Permalink
fix: wrong url link
Browse files Browse the repository at this point in the history
  • Loading branch information
fish.yu committed Apr 18, 2024
1 parent c50dbfe commit 1a47897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/download.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class Downloader {
console.error('upload image failed:', url, content);
throw new Error('upload image failed:', result);
}
return result.data.content.url;
return result.data.content.html_url;
}

/**
Expand Down

0 comments on commit 1a47897

Please sign in to comment.