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 }) }