Skip to content
Snippets Groups Projects
Commit d008b70e authored by Marlène SIMONDANT's avatar Marlène SIMONDANT
Browse files

updateOrientationStatus with a token

parent bdbee6d5
No related branches found
No related tags found
2 merge requests!993Notif,!983feat(dashboard) : create dashboard !
......@@ -128,4 +128,15 @@ export class OrientationService {
return StructureCategoryIconEnum.public;
}
}
// Update orientation status with a token (to validate onlineMediation)
updateOrientationStatus(id: string, newStatus: string, token: string): Observable<any> {
return this.http.patch(
`/api/orientation/${id}/status`,
{ status: newStatus },
{
params: { token: token },
},
);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment