Superalgos Network: Events Query implemented. Deep Scan Bug Fixed
This commit is contained in:
1 parent
fd3bddf540
commit
72cf70617d
3 files changed
+6
No files matched your search
@@ -98,6 +98,7 @@ exports.newEvents = function newEvents() {
|
||||
if (event === undefined) { break }
|
||||
checkEventContext(event)
|
||||
}
|
||||
break
|
||||
}
|
||||
case DIRECTION_PAST: {
|
||||
for (let i = thisObject.initialIndex; i > thisObject.initialIndex - thisObject.amountRequested; i--) {
|
||||
@@ -105,6 +106,7 @@ exports.newEvents = function newEvents() {
|
||||
if (event === undefined) { break }
|
||||
checkEventContext(event)
|
||||
}
|
||||
break
|
||||
}
|
||||
}
|
||||
return response
|
||||
|
||||
@@ -94,6 +94,7 @@ exports.newPostReplies = function newPostReplies() {
|
||||
if (post === undefined) { break }
|
||||
addToResponse(post)
|
||||
}
|
||||
break
|
||||
}
|
||||
case DIRECTION_PAST: {
|
||||
for (let i = thisObject.initialIndex; i > thisObject.initialIndex - thisObject.amountRequested; i--) {
|
||||
@@ -101,6 +102,7 @@ exports.newPostReplies = function newPostReplies() {
|
||||
if (post === undefined) { break }
|
||||
addToResponse(post)
|
||||
}
|
||||
break
|
||||
}
|
||||
}
|
||||
return response
|
||||
|
||||
@@ -98,6 +98,7 @@ exports.newProfilePosts = function newProfilePosts() {
|
||||
if (post === undefined) { break }
|
||||
addToResponse(post)
|
||||
}
|
||||
break
|
||||
}
|
||||
case DIRECTION_PAST: {
|
||||
for (let i = thisObject.initialIndex; i > thisObject.initialIndex - thisObject.amountRequested; i--) {
|
||||
@@ -105,6 +106,7 @@ exports.newProfilePosts = function newProfilePosts() {
|
||||
if (post === undefined) { break }
|
||||
addToResponse(post)
|
||||
}
|
||||
break
|
||||
}
|
||||
}
|
||||
return response
|
||||
|
||||
Reference in new issue
Block a user