fix(http): stream live sns media and clarify docs

This commit is contained in:
xuncha committed 2026-04-03 20:07:11 +08:00
1 parent 8c4f42bab1
commit 67642cebfd
3 files changed
+39 -7

No files matched your search

+1 -1
View File
@@ -1240,7 +1240,7 @@ class SnsService {
return { success: false, error: result.error }
}
async downloadImage(url: string, key?: string | number): Promise<{ success: boolean; data?: Buffer; contentType?: string; error?: string }> {
async downloadImage(url: string, key?: string | number): Promise<{ success: boolean; data?: Buffer; contentType?: string; cachePath?: string; error?: string }> {
return this.fetchAndDecryptImage(url, key)
}