mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 13:12:19 +00:00
Use config default region for new Guilds
This commit is contained in:
1 file changed
+1
-1
@@ -24,7 +24,7 @@ router.post("/", check(GuildCreateSchema), async (req: Request, res: Response) =
|
||||
const guild_id = Snowflake.generate();
|
||||
const guild: Guild = {
|
||||
name: body.name,
|
||||
region: body.region || "en-US",
|
||||
region: Config.get().regions.default,
|
||||
owner_id: req.user_id,
|
||||
icon: undefined,
|
||||
afk_channel_id: undefined,
|
||||
|
||||
Reference in new issue
Block a user