This commit is contained in:
Dragon Fire
2020-03-14 11:33:44 -04:00
parent 7118ec6492
commit 6e65e0aa07
+1 -1
View File
@@ -71,7 +71,7 @@ module.exports = class RightStufCommand extends Command {
let current = item.itemimages_detail
while (!found) {
if (current.primary) found = current.primary.url;
if (current.urls) found = current.urls.url;
if (current.urls) found = current.urls[0].url;
const key = Object.keys(current)[0];
if (!key) break;
current = current[key];