File tree Expand file tree Collapse file tree 4 files changed +10
-12
lines changed Expand file tree Collapse file tree 4 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 66 "type" : " string"
77 }
88 }
9- }
9+ }
Original file line number Diff line number Diff line change 77 "type" : " string"
88 }
99 },
10- "required" : [
11- " geode_object"
12- ],
10+ "required" : [" geode_object" ],
1311 "additionalProperties" : false
14- }
12+ }
Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ export function api_fetch(
1010
1111 const body = params || { }
1212
13- const ajv = new Ajv ( ) ;
14- console . log ( "schema" , schema ) ;
13+ const ajv = new Ajv ( )
14+ console . log ( "schema" , schema )
1515
1616 ajv . addKeyword ( "method" )
17- const valid = ajv . validate ( schema , body ) ;
18- console . log ( "valid" , schema . $id , valid ) ;
17+ const valid = ajv . validate ( schema , body )
18+ console . log ( "valid" , schema . $id , valid )
1919 if ( ! valid ) {
2020 errors_store . add_error ( {
2121 code : "400" ,
@@ -30,14 +30,14 @@ export function api_fetch(
3030 console . log ( geode_store . base_url )
3131 console . log ( schema . $id )
3232
33- const request_options = { method : schema [ "method" ] }
33+ const request_options = { method : schema [ "method" ] }
3434 console . log ( "body" , body )
3535 if ( ! _ . isEmpty ( body ) ) {
3636 request_options . body = body
3737 }
3838
3939 if ( schema . max_retry ) {
40- request_options . max_retry = schema . max_retry ;
40+ request_options . max_retry = schema . max_retry
4141 }
4242
4343 console . log ( "request_options" , request_options )
Original file line number Diff line number Diff line change 5454 "publishConfig" : {
5555 "access" : " public"
5656 }
57- }
57+ }
You can’t perform that action at this time.
0 commit comments