Franek-Le commited on
Commit
0e230ef
·
1 Parent(s): 9886c68
Files changed (1) hide show
  1. src/mods/mods.ts +1 -1
src/mods/mods.ts CHANGED
@@ -19,7 +19,7 @@ export class ModManager {
19
  const mods: Mod[] = await this.getModList();
20
 
21
  this.server.get("/mods/", (_req, res) => {
22
- res.send(typia.json.stringify(mods));
23
  })
24
 
25
  if (mods.length > 0) {
 
19
  const mods: Mod[] = await this.getModList();
20
 
21
  this.server.get("/mods/", (_req, res) => {
22
+ res.send(typia.json.stringify<Mod[]>(mods));
23
  })
24
 
25
  if (mods.length > 0) {