refactor: change API endpoint for getting student's personal internships

This commit is contained in:
Veronika Fehérvíziová
2025-10-31 20:32:16 +01:00
parent 1057a8250c
commit 1683155ae3
3 changed files with 3 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ const headers = [
];
const user = useSanctumUser<User>();
const { data, error } = await useSanctumFetch<Internship[]>('/api/internships');
const { data, error } = await useSanctumFetch<Internship[]>('/api/internships/my');
</script>
<template>