From 6039a793c43d39664a950d6329c887dda0472176 Mon Sep 17 00:00:00 2001 From: Darius Kazemi Date: Sun, 10 Mar 2019 21:25:21 -0700 Subject: [PATCH] Fixing bugs --- package.json | 2 +- routes/user.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index def8575..bb25975 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "parse-favicon": "^2.0.0", "pug": "^2.0.3", "request": "^2.87.0", - "rss-parser": "^3.4.3" + "rss-parser": "^3.6.3" }, "engines": { "node": ">=10.10.0" diff --git a/routes/user.js b/routes/user.js index 35552f6..18dba79 100644 --- a/routes/user.js +++ b/routes/user.js @@ -21,7 +21,7 @@ router.get('/:name', function (req, res) { // Added this followers URI for Pleroma compatibility, see https://github.com/dariusk/rss-to-activitypub/issues/11#issuecomment-471390881 // New Actors should have this followers URI but in case of migration from an old version this will add it in on the fly if (tempActor.followers === undefined) { - tempActor.followers = `https://${domain}/u/${username}/followers`, + tempActor.followers = `https://${domain}/u/${username}/followers`; } res.json(tempActor); }