From 0c6b9a07374b670cf7e007586e1ad1d80ad5b1fd Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Wed, 29 Apr 2020 13:35:04 +0200 Subject: [PATCH] Fix typo --- src/controllers/SettingsController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/SettingsController.ts b/src/controllers/SettingsController.ts index 61df94a..d6e9155 100644 --- a/src/controllers/SettingsController.ts +++ b/src/controllers/SettingsController.ts @@ -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))