mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2025-06-23 18:11:40 +00:00
Fix typos in comments
This commit is contained in:
@ -271,9 +271,9 @@ export class SettingsController {
|
||||
public static async UploadCustomEmoji(h: RequestHandler) {
|
||||
const shorcut = h.postEmojiShorcut("shortcut");
|
||||
|
||||
// Check if the user has already a shorcut with the same name
|
||||
// Check if the user has already a shortcut with the same name
|
||||
if(await CustomEmojisHelper.HasUserSimilarShorcut(h.getUserId(), shorcut))
|
||||
h.error(401, "A custom emoji with the same shorcut is already defined!")
|
||||
h.error(401, "A custom emoji with the same shortcut is already defined!")
|
||||
|
||||
|
||||
const path = await h.savePostImage("image", "custom_emojies", 72, 72);
|
||||
|
Reference in New Issue
Block a user