You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewError("You should provide API Key value when initializing API client!\nExample: const qencodeApiClient = new QencodeApiClient({key: 'your API key'});");
20
+
}
21
+
else{
22
+
key=options.key;
23
+
if('endpoint'inoptions){
24
+
endpoint=options.endpoint.trim();
25
+
if(!endpoint.endsWith('/')){
26
+
endpoint+='/';
27
+
}
28
+
}
29
+
if('version'inoptions){
30
+
this.version=options.version.trim();
31
+
}
32
+
}
33
+
}
10
34
11
35
if(key.length<12){
12
36
thrownewError("Missing or invalid Qencode project api key!");
0 commit comments