Skip to content

Commit ba4ea0b

Browse files
matheusmartinsInspermatheusmartinsInsper
authored andcommitted
style: run lint
1 parent 51edf1f commit ba4ea0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/api/controllers/sendMessage.controller.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ import { isBase64, isURL } from 'class-validator';
2020

2121
function isEmoji(str: string) {
2222
if (str === '') return true;
23-
24-
const emojiRegex =
23+
24+
const emojiRegex =
2525
/^[\u{1F300}-\u{1F9FF}\u{2600}-\u{26FF}\u{2700}-\u{27BF}\u{1F000}-\u{1F02F}\u{1F0A0}-\u{1F0FF}\u{1F100}-\u{1F64F}\u{1F680}-\u{1F6FF}]$/u;
2626
return emojiRegex.test(str);
2727
}

0 commit comments

Comments
 (0)