diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-07-27 07:29:24 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-07-27 07:29:24 +0900 |
| commit | bfd8b12a4f0707e5d664fa46e572b57bb3a3da9f (patch) | |
| tree | 1d661697244b58037be27b4d249bc72ee2e031e2 /src/services | |
| parent | 5.5.0 (diff) | |
| download | sharkey-bfd8b12a4f0707e5d664fa46e572b57bb3a3da9f.tar.gz sharkey-bfd8b12a4f0707e5d664fa46e572b57bb3a3da9f.tar.bz2 sharkey-bfd8b12a4f0707e5d664fa46e572b57bb3a3da9f.zip | |
Clean up
Diffstat (limited to 'src/services')
| -rw-r--r-- | src/services/note/watch.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/services/note/watch.ts b/src/services/note/watch.ts index 28fb7a32c2..aad53610d8 100644 --- a/src/services/note/watch.ts +++ b/src/services/note/watch.ts @@ -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) { |