mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-24 10:42:59 +00:00
Update index.ts
This commit is contained in:
1 parent
cdd56ff3b7
commit
31e9c67be2
1 file changed
+1
-5
@@ -1,11 +1,7 @@
|
||||
import { Request, Response, Router } from "express";
|
||||
const router: Router = Router();
|
||||
import { TemplateModel, GuildModel, getPermission, toObject, UserModel } from "@fosscord/server-util";
|
||||
import { TemplateModel, GuildModel, toObject, UserModel } from "@fosscord/server-util";
|
||||
import { HTTPError } from "lambert-server";
|
||||
import { TemplateCreateSchema } from "../../../schema/Template";
|
||||
import { emitEvent } from "../../../util/Event";
|
||||
import { check } from "../../../util/instanceOf";
|
||||
import { getPublicUser } from "../../../util/User";
|
||||
|
||||
router.get("/:template_id", async (req: Request, res: Response) => {
|
||||
|
||||
|
||||
Reference in new issue
Block a user