File tree 2 files changed +5
-4
lines changed
arduino-ide-extension/src/browser
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -185,10 +185,10 @@ export const ArduinoConfigSchema: PreferenceSchema = {
185
185
) ,
186
186
default : true ,
187
187
} ,
188
- 'arduino.cloud.sketchSyncEnpoint ' : {
188
+ 'arduino.cloud.sketchSyncEndpoint ' : {
189
189
type : 'string' ,
190
190
description : nls . localize (
191
- 'arduino/preferences/cloud.sketchSyncEnpoint ' ,
191
+ 'arduino/preferences/cloud.sketchSyncEndpoint ' ,
192
192
'The endpoint used to push and pull sketches from a backend. By default it points to Arduino Cloud API.'
193
193
) ,
194
194
default : 'https://api2.arduino.cc/create' ,
@@ -263,7 +263,7 @@ export interface ArduinoConfiguration {
263
263
'arduino.cloud.pull.warn' : boolean ;
264
264
'arduino.cloud.push.warn' : boolean ;
265
265
'arduino.cloud.pushpublic.warn' : boolean ;
266
- 'arduino.cloud.sketchSyncEnpoint ' : string ;
266
+ 'arduino.cloud.sketchSyncEndpoint ' : string ;
267
267
'arduino.auth.clientID' : string ;
268
268
'arduino.auth.domain' : string ;
269
269
'arduino.auth.audience' : string ;
Original file line number Diff line number Diff line change @@ -507,7 +507,8 @@ export class CreateApi {
507
507
}
508
508
509
509
private domain ( apiVersion = 'v2' ) : string {
510
- const endpoint = this . arduinoPreferences [ 'arduino.cloud.sketchSyncEnpoint' ] ;
510
+ const endpoint =
511
+ this . arduinoPreferences [ 'arduino.cloud.sketchSyncEndpoint' ] ;
511
512
return `${ endpoint } /${ apiVersion } ` ;
512
513
}
513
514
You can’t perform that action at this time.
0 commit comments