Commit 4dfec4e9 authored by Lorenzo Trujillo Rojas's avatar Lorenzo Trujillo Rojas
Browse files

Se implementó el metodo para obtener los datos del usuario en la implementacion del repositorio

parent 2c7efc7e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -6,6 +6,9 @@ export class ProfileRepositoryImpl implements ProfileRepository {
    constructor(
        private dataSource: ProfileDataSource
    ){}
    getUserInterests(): Promise<IOption[]>{
        return this.dataSource.getUserInterests();
    }
    async changePassword (oldPassword: string, newPassword: string): Promise<void> {
        return this.dataSource.changePassword(oldPassword, newPassword);
    };