mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-12-26 13:38:52 +00:00
Fixed typo in database structure
This commit is contained in:
parent
0c6b9a0737
commit
eba9c46573
@ -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
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user