File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 4545 "@pinia/nuxt" : " ^0.5.1" ,
4646 "@types/node" : " ^20.12.4" ,
4747 "@vueuse/components" : " ^10.9.0" ,
48- "@vueuse/core" : " ^10.9.0" ,
4948 "@vueuse/nuxt" : " ^10.9.0" ,
5049 "ajv" : " ^8.12.0" ,
5150 "pinia" : " ^2.1.7" ,
Original file line number Diff line number Diff line change 1- import { useFetch , useStorage } from "@vueuse/core"
1+ import { useStorage } from "@vueuse/core"
22
33export const use_cloud_store = defineStore ( "cloud" , {
44 state : ( ) => ( {
@@ -36,7 +36,7 @@ export const use_cloud_store = defineStore("cloud", {
3636 ) {
3737 return this . create_backend ( )
3838 } else {
39- const { data, error } = await useFetch ( `${ geode_store . base_url } /ping` , {
39+ const { data } = await useFetch ( `${ geode_store . base_url } /ping` , {
4040 method : "POST" ,
4141 } )
4242 if ( data . value !== null ) {
@@ -56,11 +56,10 @@ export const use_cloud_store = defineStore("cloud", {
5656 public_runtime_config . PROJECT ,
5757 "/createbackend" ,
5858 )
59- const { data, error } = await useFetch ( url , {
59+ const { data } = await useFetch ( url , {
6060 method : "POST" ,
6161 } )
6262
63- console . log ( "data" , data )
6463 if ( data . value !== null ) {
6564 this . ID = data . value . ID
6665 localStorage . setItem ( "ID" , data . value . ID )
You can’t perform that action at this time.
0 commit comments