This commit is contained in:
Patryk
2025-06-09 23:57:18 +02:00
parent 366ea4ada3
commit 1cc0f601fb
4 changed files with 121 additions and 59 deletions

View File

@@ -12,10 +12,10 @@ export async function getUserById(userId) {
});
return response.data;
} catch (err) {
console.error(
`Nie udało się pobrać danych użytkownika o ID ${userId}.`,
err.response.status
);
// console.error(
// `Nie udało się pobrać danych użytkownika o ID ${userId}.`,
// err.response.status
// );
throw err;
}
}