mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-14 22:17:30 -07:00
Clean up
This commit is contained in:
parent
5f33c16baf
commit
dac0c41789
1 changed files with 1 additions and 2 deletions
|
@ -10,8 +10,7 @@ export default async (me: mongodb.ObjectID, note: object) => {
|
|||
// if watching now
|
||||
const exist = await Watching.findOne({
|
||||
noteId: (note as any)._id,
|
||||
userId: me,
|
||||
deletedAt: { $exists: false }
|
||||
userId: me
|
||||
});
|
||||
|
||||
if (exist !== null) {
|
||||
|
|
Loading…
Reference in a new issue