@@ -804,12 +804,12 @@ public class TranslatorText {
804
804
const axios = require (' axios' ).default ;
805
805
const { v4: uuidv4 } = require (' uuid' );
806
806
807
- var key = " <YOUR-TRANSLATOR-KEY>" ;
808
- var endpoint = " https://api.cognitive.microsofttranslator.com" ;
807
+ let key = " <YOUR-TRANSLATOR-KEY>" ;
808
+ let endpoint = " https://api.cognitive.microsofttranslator.com" ;
809
809
810
810
// Add your location, also known as region. The default is global.
811
811
// This is required if using a Cognitive Services resource.
812
- var location = " <YOUR-RESOURCE-LOCATION>" ;
812
+ let location = " <YOUR-RESOURCE-LOCATION>" ;
813
813
814
814
axios ({
815
815
baseURL: endpoint,
@@ -1080,12 +1080,12 @@ public class TranslatorText {
1080
1080
const axios = require (' axios' ).default ;
1081
1081
const { v4: uuidv4 } = require (' uuid' );
1082
1082
1083
- var key = " <YOUR-TRANSLATOR-KEY>" ;
1084
- var endpoint = " https://api.cognitive.microsofttranslator.com" ;
1083
+ let key = " <YOUR-TRANSLATOR-KEY>" ;
1084
+ let endpoint = " https://api.cognitive.microsofttranslator.com" ;
1085
1085
1086
1086
// Add your location, also known as region. The default is global.
1087
1087
// This is required if using a Cognitive Services resource.
1088
- var location = " <YOUR-RESOURCE-LOCATION>" ;
1088
+ let location = " <YOUR-RESOURCE-LOCATION>" ;
1089
1089
1090
1090
axios ({
1091
1091
baseURL: endpoint,
@@ -1359,12 +1359,12 @@ public class TranslatorText {
1359
1359
const axios = require (' axios' ).default ;
1360
1360
const { v4: uuidv4 } = require (' uuid' );
1361
1361
1362
- var key = " <YOUR-TRANSLATOR-KEY>" ;
1363
- var endpoint = " https://api.cognitive.microsofttranslator.com" ;
1362
+ let key = " <YOUR-TRANSLATOR-KEY>" ;
1363
+ let endpoint = " https://api.cognitive.microsofttranslator.com" ;
1364
1364
1365
1365
// Add your location, also known as region. The default is global.
1366
1366
// This is required if using a Cognitive Services resource.
1367
- var location = " <YOUR-RESOURCE-LOCATION>" ;
1367
+ let location = " <YOUR-RESOURCE-LOCATION>" ;
1368
1368
1369
1369
axios ({
1370
1370
baseURL: endpoint,
@@ -1644,12 +1644,12 @@ public class TranslatorText {
1644
1644
const axios = require (' axios' ).default ;
1645
1645
const { v4: uuidv4 } = require (' uuid' );
1646
1646
1647
- var key = " <YOUR-TRANSLATOR-KEY>" ;
1648
- var endpoint = " https://api.cognitive.microsofttranslator.com" ;
1647
+ let key = " <YOUR-TRANSLATOR-KEY>" ;
1648
+ let endpoint = " https://api.cognitive.microsofttranslator.com" ;
1649
1649
1650
1650
// Add your location, also known as region. The default is global.
1651
1651
// This is required if using a Cognitive Services resource.
1652
- var location = " <YOUR-RESOURCE-LOCATION>" ;
1652
+ let location = " <YOUR-RESOURCE-LOCATION>" ;
1653
1653
1654
1654
axios ({
1655
1655
baseURL: endpoint,
@@ -1920,12 +1920,12 @@ public class TranslatorText {
1920
1920
const axios = require (' axios' ).default ;
1921
1921
const { v4: uuidv4 } = require (' uuid' );
1922
1922
1923
- var key = " <YOUR-TRANSLATOR-KEY>" ;
1924
- var endpoint = " https://api.cognitive.microsofttranslator.com" ;
1923
+ let key = " <YOUR-TRANSLATOR-KEY>" ;
1924
+ let endpoint = " https://api.cognitive.microsofttranslator.com" ;
1925
1925
1926
1926
// Add your location, also known as region. The default is global.
1927
1927
// This is required if using a Cognitive Services resource.
1928
- var location = " <YOUR-RESOURCE-LOCATION>" ;
1928
+ let location = " <YOUR-RESOURCE-LOCATION>" ;
1929
1929
1930
1930
axios ({
1931
1931
baseURL: endpoint,
@@ -2203,12 +2203,12 @@ public class TranslatorText {
2203
2203
const axios = require (' axios' ).default ;
2204
2204
const { v4: uuidv4 } = require (' uuid' );
2205
2205
2206
- var key = " <YOUR-TRANSLATOR-KEY>" ;
2207
- var endpoint = " https://api.cognitive.microsofttranslator.com" ;
2206
+ let key = " <YOUR-TRANSLATOR-KEY>" ;
2207
+ let endpoint = " https://api.cognitive.microsofttranslator.com" ;
2208
2208
2209
2209
// Add your location, also known as region. The default is global.
2210
2210
// This is required if using a Cognitive Services resource.
2211
- var location = " <YOUR-RESOURCE-LOCATION>" ;
2211
+ let location = " <YOUR-RESOURCE-LOCATION>" ;
2212
2212
2213
2213
axios ({
2214
2214
baseURL: endpoint,
@@ -2471,12 +2471,12 @@ public class TranslatorText {
2471
2471
const axios = require (' axios' ).default ;
2472
2472
const { v4: uuidv4 } = require (' uuid' );
2473
2473
2474
- var key = " <YOUR-TRANSLATOR-KEY>" ;
2475
- var endpoint = " https://api.cognitive.microsofttranslator.com" ;
2474
+ let key = " <YOUR-TRANSLATOR-KEY>" ;
2475
+ let endpoint = " https://api.cognitive.microsofttranslator.com" ;
2476
2476
2477
2477
// Add your location, also known as region. The default is global.
2478
2478
// This is required if using a Cognitive Services resource.
2479
- var location = " <YOUR-RESOURCE-LOCATION>" ;
2479
+ let location = " <YOUR-RESOURCE-LOCATION>" ;
2480
2480
2481
2481
axios ({
2482
2482
baseURL: endpoint,
@@ -2894,12 +2894,12 @@ public class TranslatorText {
2894
2894
const axios = require (' axios' ).default ;
2895
2895
const { v4: uuidv4 } = require (' uuid' );
2896
2896
2897
- var key = " <YOUR-TRANSLATOR-KEY>" ;
2898
- var endpoint = " https://api.cognitive.microsofttranslator.com" ;
2897
+ let key = " <YOUR-TRANSLATOR-KEY>" ;
2898
+ let endpoint = " https://api.cognitive.microsofttranslator.com" ;
2899
2899
2900
2900
// Add your location, also known as region. The default is global.
2901
2901
// This is required if using a Cognitive Services resource.
2902
- var location = " <YOUR-RESOURCE-LOCATION>" ;
2902
+ let location = " <YOUR-RESOURCE-LOCATION>" ;
2903
2903
2904
2904
axios ({
2905
2905
baseURL: endpoint,
0 commit comments