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
|
||||
},
|
||||
searchUsers: async (parent, { q, limit, similarity }, { models }) => {
|
||||
|
|
Loading…
Reference in New Issue