forked from Ivasoft/geovisio-website
good api route
This commit is contained in:
@@ -149,9 +149,7 @@ function sortElements(type: string): void {
|
||||
onMounted(async () => {
|
||||
try {
|
||||
const { data } = await axios.get(
|
||||
`${
|
||||
import.meta.env.VITE_API_URL
|
||||
}api/users/6b845c81-0985-433c-84f4-4aa1ce540628/catalog/`
|
||||
`${import.meta.env.VITE_API_URL}api/users/me/catalog`
|
||||
)
|
||||
const relChild = data.links.filter(
|
||||
(el: LinkInterface) => el.rel === 'child'
|
||||
|
||||
Reference in New Issue
Block a user