Skip to content
Snippets Groups Projects
Commit bfd8b12a authored by syuilo's avatar syuilo
Browse files

Clean up

parent 286da28c
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment