mirror of
https://github.com/imputnet/cobalt.git
synced 2026-11-04 00:35:06 +00:00
fix + test
This commit is contained in:
parent
1f6c7c8ead
commit
cbb519d73e
3 changed files with 13 additions and 1 deletions
|
|
@ -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' }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue