fix playground
This commit is contained in:
parent
72aad4a523
commit
15a8675bef
1 changed files with 2 additions and 2 deletions
|
@ -83,7 +83,7 @@ let getTrending = function() {
|
||||||
channel_ids: [],
|
channel_ids: [],
|
||||||
not_channel_ids: [],
|
not_channel_ids: [],
|
||||||
not_tags: ["porn", "nsfw", "mature", "xxx"],
|
not_tags: ["porn", "nsfw", "mature", "xxx"],
|
||||||
order_by: ["trending_global", "trending_mixed"]
|
order_by: ["trending_group", "trending_mixed"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
json: true
|
json: true
|
||||||
|
@ -103,7 +103,7 @@ let getTrending = function() {
|
||||||
message: "```" + daemonResponse.error + "```",
|
message: "```" + daemonResponse.error + "```",
|
||||||
title: "DAEMON ERROR: trending"
|
title: "DAEMON ERROR: trending"
|
||||||
});
|
});
|
||||||
return reject("DAEMON ERROR: trending");
|
return reject(JSON.stringify(daemonResponse));
|
||||||
} else
|
} else
|
||||||
return resolve(daemonResponse.result.items);
|
return resolve(daemonResponse.result.items);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue