Skip to content

Commit c8156a1

Browse files
remove log/unused errors
1 parent ddde59e commit c8156a1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

stores/cloud.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const use_cloud_store = defineStore("cloud", {
3434
) {
3535
return this.create_backend()
3636
} else {
37-
const { data, error } = await useFetch(`${geode_store.base_url}/ping`, {
37+
const { data } = await useFetch(`${geode_store.base_url}/ping`, {
3838
method: "POST",
3939
})
4040
if (data.value !== null) {
@@ -54,11 +54,10 @@ export const use_cloud_store = defineStore("cloud", {
5454
public_runtime_config.PROJECT,
5555
"/createbackend",
5656
)
57-
const { data, error } = await useFetch(url, {
57+
const { data } = await useFetch(url, {
5858
method: "POST",
5959
})
6060

61-
console.log("data", data)
6261
if (data.value !== null) {
6362
this.ID = data.value.ID
6463
localStorage.setItem("ID", data.value.ID)

0 commit comments

Comments
 (0)