mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user