Prefer i.redd.it ID over post ID for reddit image host.
This commit is contained in:
parent
b4b51fe23e
commit
2263d27df9
|
@ -8,7 +8,7 @@ function reddit(post) {
|
||||||
return Promise.resolve({
|
return Promise.resolve({
|
||||||
album: null,
|
album: null,
|
||||||
items: [{
|
items: [{
|
||||||
id: post.id,
|
id: post.host.id || post.id,
|
||||||
url: post.url,
|
url: post.url,
|
||||||
title: post.title,
|
title: post.title,
|
||||||
datetime: post.datetime,
|
datetime: post.datetime,
|
||||||
|
|
Loading…
Reference in New Issue