Skip to content

Commit 1b86c7b

Browse files
committed
fix some bugs
1 parent 7464e8b commit 1b86c7b

File tree

4 files changed

+4
-24
lines changed

4 files changed

+4
-24
lines changed

components/ExtensionSelector.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

components/ExtensionSelector.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
<script setup>
2323
const stepper_tree = inject("stepper_tree")
24-
const { geode_object, route_prefix } = stepper_tree
24+
const { geode_object } = stepper_tree
2525
2626
const props = defineProps({
2727
variable_to_update: { type: String, required: true },

components/Launcher.vue

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,7 @@
88
align="center"
99
>
1010
<h4 class="pb-3">Please complete the recaptcha to launch the app</h4>
11-
<vue-recaptcha
12-
ref="recaptcha"
13-
:sitekey="site_key"
14-
:loadRecaptchaScript="true"
15-
@expired="is_captcha_validated = false"
16-
align-self="center"
17-
/>
11+
<Recaptcha />
1812
</v-col>
1913
<v-col
2014
v-else-if="!cloud_store.is_running && cloud_store.is_connexion_launched"

composables/api_fetch.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ export function api_fetch(
88
const errors_store = use_errors_store()
99
const geode_store = use_geode_store()
1010

11+
1112
const body = params || {}
1213

1314
const ajv = new Ajv()
14-
console.log("schema", schema)
1515

1616
ajv.addKeyword("method")
17+
ajv.addKeyword("max_retry")
1718
const valid = ajv.validate(schema, body)
1819
console.log("valid", schema.$id, valid)
1920
if (!valid) {
@@ -27,8 +28,6 @@ export function api_fetch(
2728
}
2829

2930
geode_store.start_request()
30-
console.log(geode_store.base_url)
31-
console.log(schema.$id)
3231

3332
const request_options = { method: schema["method"] }
3433
console.log("body", body)
@@ -41,7 +40,6 @@ export function api_fetch(
4140
}
4241

4342
console.log("request_options", request_options)
44-
console.log("schema.$id", schema.$id)
4543
return useFetch(schema.$id, {
4644
baseURL: geode_store.base_url,
4745
...request_options,

0 commit comments

Comments
 (0)