There was an error while loading. Please reload this page.
1 parent 765d30d commit ff7da0bCopy full SHA for ff7da0b
1 file changed
src/translate/index.js
@@ -69,7 +69,7 @@ exports.translate = async function (postData) {
69
const jsonHeaders = { accept: 'application/json', 'content-type': 'application/json' };
70
71
try {
72
- let response = await fetch(postUrl, {
+ const response = await fetch(postUrl, {
73
method: 'POST',
74
signal: controller.signal,
75
headers: jsonHeaders,
0 commit comments