fix + test

This commit is contained in:
wukko
2023-08-20 19:36:56 +06:00
parent 1f6c7c8ead
commit cbb519d73e
3 changed files with 13 additions and 1 deletions

View File

@ -74,7 +74,7 @@ export default async function(obj) {
} else if (data?.shortcode_media?.display_url) {
return {
urls: data?.shortcode_media?.display_url,
filename: 'image.jpg'
isPhoto: true
}
} else {
return { error: 'ErrorEmptyDownload' }