1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-11 05:02:37 +01:00

🐛 fix Guild vanity_url

This commit is contained in:
Flam3rboy 2021-05-09 17:41:34 +02:00
parent 35bd6b7ed7
commit ddde476319
3 changed files with 12286 additions and 67 deletions

12350
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -53,7 +53,7 @@ router.post("/", check(GuildCreateSchema), async (req: Request, res: Response) =
system_channel_flags: 0,
system_channel_id: undefined,
unavailable: false,
vanity_url_code: undefined,
vanity_url: undefined,
verification_level: 0,
welcome_screen: {
enabled: false,

View File

@ -10,7 +10,6 @@ import {
RoleModel,
UserModel,
} from "@fosscord/server-util";
import { response } from "express";
import { HTTPError } from "lambert-server";
import Config from "./Config";
import { emitEvent } from "./Event";