mirror of
https://gitlab.com/comunic/comunicapiv2
synced 2024-11-25 06:49:23 +00:00
Fix typo
This commit is contained in:
parent
bae4751a57
commit
b1ef2d9f91
@ -415,12 +415,12 @@ export abstract class BaseRequestsHandler implements AbstractUserConnectionConta
|
|||||||
* @param name The name of the POST field containing the id of the emoji
|
* @param name The name of the POST field containing the id of the emoji
|
||||||
*/
|
*/
|
||||||
public postEmojiShortcut(name: string) : string {
|
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 + "!")
|
this.error(401, "Invalid emoji specified at " + name + "!")
|
||||||
|
|
||||||
return emojiShorcut;
|
return emojiShortcut;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user