mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-25 15:46:06 +09:00
Clean up
This commit is contained in:
parent
5f33c16baf
commit
dac0c41789
@ -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 New Issue
Block a user