From 358e9fd38ef265fb7d72306f6242fda4f1087b71 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Wed, 29 Apr 2020 16:56:05 +0200 Subject: [PATCH] Fix typo --- src/helpers/CustomEmojisHelper.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/helpers/CustomEmojisHelper.ts b/src/helpers/CustomEmojisHelper.ts index e58279d..675e1c8 100644 --- a/src/helpers/CustomEmojisHelper.ts +++ b/src/helpers/CustomEmojisHelper.ts @@ -35,14 +35,14 @@ export class CustomEmojisHelper { * the same shortcut * * @param userID Target user ID - * @param shorcut The name of the shortcut to check + * @param shortcut The name of the shortcut to check */ - public static async HasUserSimilarShortcut(userID: number, shorcut: string) : Promise { + public static async HasUserSimilarShortcut(userID: number, shortcut: string) : Promise { return await DatabaseHelper.Count({ table: EMOJIS_TABLE, where: { user_id: userID, - shortcut: shorcut + shortcut: shortcut } }) > 0; }