Skip to content

Commit

Permalink
consistency fix
Browse files Browse the repository at this point in the history
  • Loading branch information
duluca committed May 21, 2020
1 parent 23bb5cb commit 497a6af
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/app/user/user/user.entity.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ export class UserEntityService extends EntityCollectionServiceBase<User> {
}

getAll(options?: EntityActionOptions): Observable<User[]> {
return this.userService
.getUsers(10)
.pipe(map((users) => users.data.map((u) => User.Build(u))))
return this.userService.getUsers(10).pipe(map((users) => users.data.map(User.Build)))
}
}

0 comments on commit 497a6af

Please sign in to comment.