This commit is contained in:
syuilo
2018-05-06 01:46:35 +09:00
parent 29ad7ab0cf
commit c32c3c1370
2 changed files with 4 additions and 4 deletions

View File

@ -286,7 +286,7 @@ export const pack = async (
_id: -1
}
});
return prev ? prev._id : null;
return prev ? prev._id.toHexString() : null;
})();
// Get next note info
@ -304,7 +304,7 @@ export const pack = async (
_id: 1
}
});
return next ? next._id : null;
return next ? next._id.toHexString() : null;
})();
if (_note.replyId) {