1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2024-11-22 05:19:22 +00:00

Fixed typo in database structure

This commit is contained in:
Pierre HUBERT 2020-04-29 16:45:07 +02:00
parent 0c6b9a0737
commit eba9c46573

View File

@ -23,7 +23,7 @@ export class CustomEmojisHelper {
EMOJIS_TABLE, EMOJIS_TABLE,
{ {
user_id: e.userID, user_id: e.userID,
shorcut: e.shorcut, shortcut: e.shorcut,
path: e.path path: e.path
} }
) )
@ -42,7 +42,7 @@ export class CustomEmojisHelper {
table: EMOJIS_TABLE, table: EMOJIS_TABLE,
where: { where: {
user_id: userID, user_id: userID,
shorcut: shorcut shortcut: shorcut
} }
}) > 0; }) > 0;
} }
@ -116,7 +116,7 @@ export class CustomEmojisHelper {
return new CustomEmoji({ return new CustomEmoji({
id: row.id, id: row.id,
userID: row.user_id, userID: row.user_id,
shorcut: row.shorcut, shorcut: row.shortcut,
path: row.path path: row.path
}) })
} }