From eba9c465734574d1d81d6f4c3fdbfc708fa4a75f Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Wed, 29 Apr 2020 16:45:07 +0200 Subject: [PATCH] Fixed typo in database structure --- 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 93957f2..a95bcf5 100644 --- a/src/helpers/CustomEmojisHelper.ts +++ b/src/helpers/CustomEmojisHelper.ts @@ -23,7 +23,7 @@ export class CustomEmojisHelper { EMOJIS_TABLE, { user_id: e.userID, - shorcut: e.shorcut, + shortcut: e.shorcut, path: e.path } ) @@ -42,7 +42,7 @@ export class CustomEmojisHelper { table: EMOJIS_TABLE, where: { user_id: userID, - shorcut: shorcut + shortcut: shorcut } }) > 0; } @@ -116,7 +116,7 @@ export class CustomEmojisHelper { return new CustomEmoji({ id: row.id, userID: row.user_id, - shorcut: row.shorcut, + shorcut: row.shortcut, path: row.path }) }