🚧 typeorm

This commit is contained in:
Flam3rboy
2021-08-30 12:15:06 +02:00
parent eb6efd14c1
commit 584d4a039c
10 changed files with 67 additions and 76 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ router.post("/", check(RoleModifySchema), async (req: Request, res: Response) =>
managed: false,
position: 0,
tags: null,
permissions: perms.bitfield & (body.permissions || 0n)
permissions: String(perms.bitfield & (body.permissions || 0n))
}).save();
await emitEvent({
+1 -1
View File
@@ -17,7 +17,7 @@ const TemplateGuildProjection: (keyof Guild)[] = [
"preferred_locale",
"afk_timeout",
"roles",
"channels",
// "channels",
"afk_channel_id",
"system_channel_id",
"system_channel_flags",