blob: 0795636093610a1f1a9baf485cfa1b2249fe98c6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
import { Router, Request, Response } from "express";
import { User } from "@fosscord/util";
const router: Router = Router();
router.get("/", async (req: Request, res: Response) => {
const { id } = req.params;
res.json(await User.getPublicUser(id));
});
export default router;
|