Skip to content

Commit

Permalink
fix error iidfjkgdf
Browse files Browse the repository at this point in the history
  • Loading branch information
dimdenGD committed Sep 15, 2023
1 parent dd26027 commit b0fbb2d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/apis.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand Down

0 comments on commit b0fbb2d

Please sign in to comment.