From a7e0f00e75942969f60604e97a2c56a973aaf90c Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Sun, 12 Nov 2023 18:19:42 +0100 Subject: [PATCH] Updated the guild.ts controller --- controller/guild.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/guild.ts b/controller/guild.ts index 2bd3722..0282b2d 100644 --- a/controller/guild.ts +++ b/controller/guild.ts @@ -4,4 +4,4 @@ import {Guild} from "../models/Guild"; * Gets a guild by its id * @param guildId The guild id to find */ -export const getGuildById = (guildId: number) => Guild.findOne({where: {guildId}}); \ No newline at end of file +export const getGuildById = (guildId: string) => Guild.findOne({where: {guildId}}); \ No newline at end of file