summaryrefslogtreecommitdiff
path: root/routes.js
diff options
context:
space:
mode:
authorDarius Kazemi <darius.kazemi@gmail.com>2020-01-04 22:52:54 -0800
committerDarius Kazemi <darius.kazemi@gmail.com>2020-01-04 22:52:54 -0800
commit7fc93dbe9d4d99457a0e85c6c532112f415b7af2 (patch)
treefb8daea9c78b84feb85dae8431048b7f7f989736 /routes.js
parentef5aadc56f821c31d324fd3ec29f646a331b4612 (diff)
add federation document
Diffstat (limited to 'routes.js')
-rwxr-xr-xroutes.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/routes.js b/routes.js
index eb17d37..5d2110a 100755
--- a/routes.js
+++ b/routes.js
@@ -2079,8 +2079,6 @@ function processInbox(req, res) {
});
}
if (req.body && req.body.type === 'Delete') {
- // TODO: only do this if it's a delete for a Note
- // figure out if we have a matching comment by id
const deleteObjectId = req.body.object.id;
// find all events with comments from the author
Event.find({