remove test cursor time

This commit is contained in:
keyan 2021-07-09 14:16:26 -05:00
parent 676a912974
commit 55f5460116
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ async function comments (models, id) {
function decodeCursor (cursor) {
if (!cursor) {
return { offset: 0, time: new Date((new Date()).getTime() + (2 * 60 * 60 * 1000)) }
return { offset: 0, time: new Date() }
} else {
const res = JSON.parse(Buffer.from(cursor, 'base64'))
res.time = new Date(res.time)