diff options
author | Raphael Kabo <raphaelkabo@hey.com> | 2024-02-27 17:37:10 +0000 |
---|---|---|
committer | Raphael Kabo <raphaelkabo@hey.com> | 2024-02-27 17:37:10 +0000 |
commit | 35398241dea769bd7554eaca0a9045801c847340 (patch) | |
tree | 8793eca2c6bfd6aa630e29a175aba7dfa413a3bb /src/routes/group.ts | |
parent | ec0bf2d6a9e74fd68febe9c09ba1997858ec3d7f (diff) |
Update dependencies to latest versions
Diffstat (limited to 'src/routes/group.ts')
-rw-r--r-- | src/routes/group.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/routes/group.ts b/src/routes/group.ts index 8afd766..1bbf501 100644 --- a/src/routes/group.ts +++ b/src/routes/group.ts @@ -269,10 +269,11 @@ router.post("/known/groups", async (req: Request, res: Response) => { return { id: group.id, name: group.name, - description: marked - .parse(group.description, { + description: ( + marked.parse(group.description, { renderer: renderPlain(), - }) + }) as string + ) .split(" ") .splice(0, 40) .join(" ") |