Remove axios and commit backend changes to sitemap

This commit is contained in:
Julien Nahum
2024-01-02 19:03:14 +01:00
parent 55debc539c
commit 6900fd572f
4 changed files with 16 additions and 54 deletions

View File

@@ -1,5 +1,4 @@
import {defineStore} from 'pinia'
import axios from 'axios'
export const useAuthStore = defineStore('auth', {
state: () => {
@@ -88,8 +87,8 @@ export const useAuthStore = defineStore('auth', {
},
async fetchOauthUrl(provider) {
const {data} = await axios.post(`/api/oauth/${provider}`)
return data.url
// const {data} = await axios.post(`/api/oauth/${provider}`)
// return data.url
}
}
})