diff --git a/src/app/services/users.service.ts b/src/app/services/users.service.ts index df69f6f..f7dbece 100644 --- a/src/app/services/users.service.ts +++ b/src/app/services/users.service.ts @@ -59,6 +59,6 @@ export class UserService { return this.updateUser(_id, { isActive }); } updateUserOrganizaciones(_id: string, organizaciones: SubOrganizacion[]): Observable { - return this.http.post(`${environment.API_END_POINT}/users/update`, { _id, organizaciones }); + return this.http.post(`${environment.API_END_POINT}/users/update-own`, { _id, organizaciones }); } }