Skip to content

Commit

Permalink
Corrigido RegExp de notica
Browse files Browse the repository at this point in the history
  • Loading branch information
s1lviuz committed Dec 2, 2022
1 parent bdd1c52 commit 2386119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const axios = require('axios');

const verificaMensagem = (mensagem) => {
const regex = new RegExp(/noticias/)
const regex = new RegExp(/noticia/i)
if (regex.test(mensagem)) {
return true
} else {
Expand Down

0 comments on commit 2386119

Please sign in to comment.