Updated the guild.ts controller

This commit is contained in:
Mathias Wagner 2023-11-12 18:19:42 +01:00
parent f69d9c2814
commit a7e0f00e75
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -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}});
export const getGuildById = (guildId: string) => Guild.findOne({where: {guildId}});