summary refs log tree commit diff
path: root/api/src/routes/guilds/templates
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-10 11:08:55 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-10-10 11:08:55 +0200
commit57c9813f2fca9b8f4e02f09d71515bc7f59b4010 (patch)
treefabc44bb4a7c1470f1244dffcfdcc40e80e29c7c /api/src/routes/guilds/templates
parent:art: clean up imports + classes (diff)
downloadserver-ts-57c9813f2fca9b8f4e02f09d71515bc7f59b4010.tar.xz
:bug: convert bigint literal to object
Diffstat (limited to 'api/src/routes/guilds/templates')
-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()