mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2025-06-23 18:11:40 +00:00
Fix typo
This commit is contained in:
@ -272,7 +272,7 @@ export class SettingsController {
|
||||
const shortcut = h.postEmojiShortcut("shortcut");
|
||||
|
||||
// Check if the user has already a shortcut with the same name
|
||||
if(await CustomEmojisHelper.HasUserSimilarShorcut(h.getUserId(), shortcut))
|
||||
if(await CustomEmojisHelper.HasUserSimilarShortcut(h.getUserId(), shortcut))
|
||||
h.error(401, "A custom emoji with the same shortcut is already defined!")
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user