From b0fbb2d24e2f2a692255bca6e24b2b2ff94bd085 Mon Sep 17 00:00:00 2001 From: dimden Date: Sat, 16 Sep 2023 01:09:35 +0300 Subject: [PATCH] fix error iidfjkgdf --- scripts/apis.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/apis.js b/scripts/apis.js index f1fe0ac4..6eb3526b 100644 --- a/scripts/apis.js +++ b/scripts/apis.js @@ -3863,7 +3863,11 @@ const API = { let instructions = data.data.search_by_raw_query.search_timeline.timeline.instructions; let entries = instructions.find(i => i.entries); if(!entries) { - return resolve([]); + return resolve({ + list: [], + cursorBottom: undefined, + cursorTop: undefined + }); } entries = entries.entries; let res = [];