diff --git a/index.js b/index.js index 8462f52..afbd6e4 100644 --- a/index.js +++ b/index.js @@ -120,7 +120,7 @@ app.post('/users/:username/posts', authenticate, (req, res) => { res.status(201).json(post); }); -// Route to get a user’s posts +// Route to get a user's posts app.get('/users/:username/posts', authenticate, (req, res) => { const { username } = req.params; @@ -185,7 +185,7 @@ activityPubRouter.get('/users/:username/outbox', (req, res) => { return res.status(404).json({ error: 'User not found' }); } - // Fetch posts from this user’s outbox (from the DB) + // Fetch posts from this user's outbox (from the DB) const userPosts = Object.values(db.get("posts") || {}).filter(post => post.author.username === username); res.json(userPosts); });