Skip to content

Commit 7464e8b

Browse files
SpliiTgithub-actions[bot]
authored andcommitted
Apply prepare changes
1 parent 9211575 commit 7464e8b

File tree

4 files changed

+10
-12
lines changed

4 files changed

+10
-12
lines changed

components/CrsSelector.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
"type": "string"
77
}
88
}
9-
}
9+
}

components/ExtensionSelector.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
"type": "string"
88
}
99
},
10-
"required": [
11-
"geode_object"
12-
],
10+
"required": ["geode_object"],
1311
"additionalProperties": false
14-
}
12+
}

composables/api_fetch.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff 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)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@
5454
"publishConfig": {
5555
"access": "public"
5656
}
57-
}
57+
}

0 commit comments

Comments
 (0)