mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-04-14 19:56:23 +00:00
migration(todos date); filter by updatedAt
This commit is contained in:
parent
7c0b3612f0
commit
dc72faad6a
1 changed files with 2 additions and 1 deletions
|
|
@ -24,7 +24,8 @@ async function updateUser (todo) {
|
|||
module.exports = async function processUsers () {
|
||||
let query = {
|
||||
type: 'todo',
|
||||
date: {$exists: true}
|
||||
date: {$exists: true},
|
||||
updatedAt: {$gt: new Date('2020-11-23')},
|
||||
};
|
||||
|
||||
const fields = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue