summary refs log tree commit diff
path: root/api/src/routes/guilds/templates/index.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-11 15:13:16 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-11 15:13:16 +0200
commit4a34792be6a8b53d05d4359fc75064449db75eef (patch)
tree66091b07cac6d0485f2dbb4784dcad7bada34425 /api/src/routes/guilds/templates/index.ts
parentImplement GIFs (diff)
parentMerge pull request #435 from TheArcaneBrony/change-enums-to-number (diff)
downloadserver-4a34792be6a8b53d05d4359fc75064449db75eef.tar.xz
Merge branch 'master' into pr/Thesourtimes/430
Diffstat (limited to 'api/src/routes/guilds/templates/index.ts')
-rw-r--r--api/src/routes/guilds/templates/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/src/routes/guilds/templates/index.ts b/api/src/routes/guilds/templates/index.ts
index b5e243e9..86316d23 100644
--- a/api/src/routes/guilds/templates/index.ts
+++ b/api/src/routes/guilds/templates/index.ts
@@ -47,7 +47,7 @@ router.post("/:code", route({ body: "GuildTemplateCreateSchema" }), async (req:
 			managed: true,
 			mentionable: true,
 			name: "@everyone",
-			permissions: 2251804225n,
+			permissions: BigInt("2251804225"),
 			position: 0,
 			tags: null
 		}).save()