fix: update proceedOnActivityPub middleware to handle how Mastodon doesn't send the 'Accepts' header

This commit is contained in:
Julian Lam
2023-12-21 15:49:51 -05:00
parent 885278842b
commit dd480aa4f6
2 changed files with 5 additions and 5 deletions

View File

@@ -101,7 +101,7 @@ Controller.getInbox = async (req, res) => {
};
Controller.postInbox = async (req, res) => {
// Note: internal-only, hence no exposure via src/api
// Note: underlying methods are internal use only, hence no exposure via src/api
switch (req.body.type) {
case 'Follow': {
await activitypub.inbox.follow(req.body.actor.name, req.body.object.name);