From 1a478973b35df4856ad6f250116e1989564cd830 Mon Sep 17 00:00:00 2001 From: "fish.yu" Date: Thu, 18 Apr 2024 12:39:15 +0800 Subject: [PATCH] fix: wrong url link --- lib/download.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/download.js b/lib/download.js index 0beba98..d8be3e2 100644 --- a/lib/download.js +++ b/lib/download.js @@ -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; } /**