summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/activitypub/routes/user.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/activitypub/routes/user.ts b/src/activitypub/routes/user.ts

index d68df4d1..67664dea 100644 --- a/src/activitypub/routes/user.ts +++ b/src/activitypub/routes/user.ts
@@ -6,7 +6,7 @@ const router = Router(); export default router; router.get("/:id", route({}), async (req: Request, res: Response) => { - const id = req.params.name; + const id = req.params.id; const user = await User.findOneOrFail({ where: { id } });