From 8b912c0436d83318642e7a390a07e124bfb9eace Mon Sep 17 00:00:00 2001 From: Borys Date: Wed, 13 Mar 2024 13:09:13 +0200 Subject: [PATCH] typo --- bots/translateBot/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }