Skip to content

Commit c919420

Browse files
fix upload_file
remove console.logs
1 parent ec73833 commit c919420

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

components/PackagesVersions.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,30 +34,25 @@
3434
{ schema },
3535
{
3636
response_function: (response) => {
37-
console.log("response", response)
3837
packages_versions.value = response._data.versions
3938
},
4039
},
4140
)
4241
}
4342
4443
watch(is_running, (value) => {
45-
console.log("watch", value)
4644
if (value === true) {
4745
get_packages_versions()
4846
}
4947
})
5048
5149
onMounted(() => {
52-
console.log("mounted", is_running)
5350
if (is_running.value) {
54-
console.log("mounted ??")
5551
get_packages_versions()
5652
}
5753
})
5854
5955
onActivated(() => {
60-
console.log("onActivated", is_running)
6156
if (is_running.value === true) {
6257
get_packages_versions()
6358
}

composables/upload_file.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import _ from "lodash"
2+
13
export function upload_file(
24
{ route, params },
35
{ request_error_function, response_function, response_error_function } = {},
@@ -51,4 +53,4 @@ export function upload_file(
5153
})
5254
}
5355

54-
export default api_fetch
56+
export default upload_file

stores/geode.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ export const use_geode_store = defineStore("geode", {
1010
const cloud_store = use_cloud_store()
1111
const public_runtime_config = useRuntimeConfig().public
1212
var geode_url = `${public_runtime_config.GEODE_PROTOCOL}://${public_runtime_config.API_URL}:${public_runtime_config.GEODE_PORT}`
13-
console.log("ID", cloud_store.ID)
1413
if (process.env.NODE_ENV == "production") {
1514
geode_url += `/${cloud_store.ID}/geode`
1615
}

0 commit comments

Comments
 (0)