1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2024-11-24 22:39:21 +00:00
This commit is contained in:
Pierre HUBERT 2020-04-29 13:35:04 +02:00
parent 9f54670cf1
commit 0c6b9a0737

View File

@ -269,7 +269,7 @@ export class SettingsController {
* @param h Request handler
*/
public static async UploadCustomEmoji(h: RequestHandler) {
const shorcut = h.postEmojiShorcut("shorcut");
const shorcut = h.postEmojiShorcut("shortcut");
// Check if the user has already a shorcut with the same name
if(await CustomEmojisHelper.HasUserSimilarShorcut(h.getUserId(), shorcut))