1
0
mirror of https://gitlab.com/comunic/comunicapiv2 synced 2024-12-26 13:38:52 +00:00
This commit is contained in:
Pierre HUBERT 2020-04-29 16:53:23 +02:00
parent bae4751a57
commit b1ef2d9f91

View File

@ -415,12 +415,12 @@ export abstract class BaseRequestsHandler implements AbstractUserConnectionConta
* @param name The name of the POST field containing the id of the emoji
*/
public postEmojiShortcut(name: string) : string {
const emojiShorcut = this.postString(name);
const emojiShortcut = this.postString(name);
if(!checkEmojiCode(emojiShorcut))
if(!checkEmojiCode(emojiShortcut))
this.error(401, "Invalid emoji specified at " + name + "!")
return emojiShorcut;
return emojiShortcut;
}
/**