From d20a42af18ff641f365bcee2069cb660cc6dbe35 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Wed, 10 Aug 2022 16:07:01 +0200 Subject: Make teams nullable --- api/src/routes/applications/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'api') diff --git a/api/src/routes/applications/index.ts b/api/src/routes/applications/index.ts index 41ce35b5..033dcc51 100644 --- a/api/src/routes/applications/index.ts +++ b/api/src/routes/applications/index.ts @@ -23,10 +23,9 @@ router.post("/", route({}), async (req: Request, res: Response) => { name: trimSpecial(body.name), description: "", bot_public: true, - bot_require_code_grant: false, owner: user, verify_key: "IMPLEMENTME", - flags: "" + flags: 0 }); await app.save(); res.json(app).status(200); -- cgit 1.4.1