mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2025-06-20 08:35:17 +00:00
Fix typo
This commit is contained in:
@ -269,7 +269,7 @@ export class SettingsController {
|
|||||||
* @param h Request handler
|
* @param h Request handler
|
||||||
*/
|
*/
|
||||||
public static async UploadCustomEmoji(h: RequestHandler) {
|
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
|
// Check if the user has already a shorcut with the same name
|
||||||
if(await CustomEmojisHelper.HasUserSimilarShorcut(h.getUserId(), shorcut))
|
if(await CustomEmojisHelper.HasUserSimilarShorcut(h.getUserId(), shorcut))
|
||||||
|
Reference in New Issue
Block a user