ajout du dossier php pour mettre tout les fichiers php
This commit is contained in:
@@ -88,7 +88,7 @@ const Calendar = () => {
|
||||
const loadTeamLeaves = async () => {
|
||||
if (user?.id) {
|
||||
try {
|
||||
const response = await fetch(`http://localhost/GTA/project/public/getTeamLeaves.php?user_id=${user.id}`);
|
||||
const response = await fetch(`http://localhost/GTA/project/public/php/getTeamLeaves.php?user_id=${user.id}`);
|
||||
const data = await response.json();
|
||||
if (data.success) {
|
||||
setTeamLeaves(data.leaves || []);
|
||||
|
||||
Reference in New Issue
Block a user