mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-11-24 22:39:21 +00:00
Fix typo
This commit is contained in:
parent
9f54670cf1
commit
0c6b9a0737
@ -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))
|
||||||
|
Loading…
Reference in New Issue
Block a user