summary refs log tree commit diff
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-28 17:11:10 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-28 17:11:10 +1000
commit089c321bf7b7409e3895316e72bc4df1329a809f (patch)
tree088b2f52fcb1cba9e838dd24b43101ab8752a777
parentfix loginRedirect (diff)
downloadserver-089c321bf7b7409e3895316e72bc4df1329a809f.tar.xz
whoops
-rw-r--r--src/api/routes/guilds/#guild_id/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/routes/guilds/#guild_id/index.ts b/src/api/routes/guilds/#guild_id/index.ts
index a20660da..d1d67193 100644
--- a/src/api/routes/guilds/#guild_id/index.ts
+++ b/src/api/routes/guilds/#guild_id/index.ts
@@ -69,7 +69,7 @@ router.patch(
 			);
 
 		if (body.discovery_splash && body.discovery_splash !== guild.discovery_splash)
-			body.splash = await handleFile(
+			body.discovery_splash = await handleFile(
 				`/discovery-splashes/${guild_id}`,
 				body.discovery_splash,
 			);