update checkedNotesAt when there are none
This commit is contained in:
parent
3929593d90
commit
f9f13cc752
@ -463,6 +463,9 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// since they don't have notifications, we can update their checkedNotesAt
|
||||||
|
await models.user.update({ where: { id: me.id }, data: { checkedNotesAt: new Date() } })
|
||||||
|
|
||||||
return false
|
return false
|
||||||
},
|
},
|
||||||
searchUsers: async (parent, { q, limit, similarity }, { models }) => {
|
searchUsers: async (parent, { q, limit, similarity }, { models }) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user