mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 15:13:50 +00:00
hide console log, remove unused api endpoint method
This commit is contained in:
@@ -192,15 +192,6 @@ const getListOrigins = () => {
|
||||
});
|
||||
}
|
||||
|
||||
const getOrigin = (id) => {
|
||||
const url = `/api/1.0/person/accompanying-period/origin/${id}.json`;
|
||||
return fetch(url)
|
||||
.then(response => {
|
||||
if (response.ok) { return response.json(); }
|
||||
throw Error('Error with request resource response');
|
||||
});
|
||||
}
|
||||
|
||||
export {
|
||||
getAccompanyingCourse,
|
||||
patchAccompanyingCourse,
|
||||
@@ -212,6 +203,5 @@ export {
|
||||
getUsers,
|
||||
whoami,
|
||||
getListOrigins,
|
||||
getOrigin,
|
||||
postSocialIssue
|
||||
};
|
||||
|
Reference in New Issue
Block a user