diff --git a/bots/translateBot/api.js b/bots/translateBot/api.js index f24492d6..b301d0d1 100644 --- a/bots/translateBot/api.js +++ b/bots/translateBot/api.js @@ -187,7 +187,7 @@ export const translateText = async(text) => { try{ let detectResponse = await axios.post( - `https://translation.googleapis.com/language/translate/v2/detect?key=${API_KEY}` + `https://translation.googleapis.com/language/translate/v2/detect?key=${API_KEY}`, { q: text }