Updated the guild.ts controller
This commit is contained in:
parent
f69d9c2814
commit
a7e0f00e75
@ -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}});
|
Loading…
x
Reference in New Issue
Block a user