Revert "added big todo list to Guild.ts (big chungus)"

This reverts commit 4a63e1560c.
This commit is contained in:
xnacly
2021-09-03 21:36:19 +02:00
parent 4a63e1560c
commit 3aaf4c8a57
3 changed files with 1 additions and 52 deletions
-14
View File
@@ -1,14 +0,0 @@
import { Guild } from "@fosscord/util";
import { Router, Request, Response } from "express";
import { In } from "typeorm";
const router = Router();
router.get("/", async (req: Request, res: Response) => {
const { limit } = req.params;
const guilds = await Guild.find({ where: { features: "PENIS" } }); //, take: Math.abs(Number(limit)) });
res.send({ guilds: guilds });
});
export default router;