Added redownload option to ignore index file.
This commit is contained in:
@@ -58,7 +58,7 @@ function curatePost(acc, post, user, index, indexed, processed, args) {
|
||||
};
|
||||
|
||||
if (indexed.entries.length) {
|
||||
if (indexed.entries.find(entry => entry.id === post.id)) {
|
||||
if (!args.redownload && indexed.entries.find(entry => entry.id === post.id)) {
|
||||
return { ...acc, indexedUpdated: [...acc.indexedUpdated, curatedPost] };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user