Spaces:
Sleeping
Sleeping
Commit
Browse files- 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) {
|