summary refs log tree commit diff
path: root/src/api
diff options
context:
space:
mode:
authorSamuel <34555296+Flam3rboy@users.noreply.github.com>2023-03-18 04:12:16 +0100
committerSamuel <34555296+Flam3rboy@users.noreply.github.com>2023-03-18 04:12:16 +0100
commit52f8508b38aa0a0aed67c3ac1fab72b35bbfe3bb (patch)
tree873186d40bc0609e821789e86a7e5865fe500e0b /src/api
parentfeat: Database Query Cache (diff)
downloadserver-52f8508b38aa0a0aed67c3ac1fab72b35bbfe3bb.tar.xz
fix: missing id in select query
Diffstat (limited to 'src/api')
-rw-r--r--src/api/routes/guilds/#guild_id/templates.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/api/routes/guilds/#guild_id/templates.ts b/src/api/routes/guilds/#guild_id/templates.ts
index 284bbccf..7c4a6961 100644
--- a/src/api/routes/guilds/#guild_id/templates.ts
+++ b/src/api/routes/guilds/#guild_id/templates.ts
@@ -39,6 +39,7 @@ const TemplateGuildProjection: (keyof Guild)[] = [
 	"system_channel_id",
 	"system_channel_flags",
 	"icon",
+	"id",
 ];
 
 router.get("/", route({}), async (req: Request, res: Response) => {