Accounting for indexed posts.

This commit is contained in:
2018-06-30 21:47:43 +02:00
parent 74e36a6826
commit a859ac573c
4 changed files with 13 additions and 14 deletions

View File

@@ -74,7 +74,7 @@ function getUserPostsWrap(reddit, args) {
}
if (posts.length) {
return { ...user, posts, indexed };
return { ...user, posts, indexed: { original: indexed, updated: [] } };
}
return null;