Skip to content

Commit

Permalink
Update user.service.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Oktawian-L committed Nov 3, 2019
1 parent b697d1a commit cc1aa4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Subiton/src/app/_services/user.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ constructor(private http: HttpClient) { }
return this.http.get<User>(this.baseUrl + 'Users/' + id );
}
updateUser(id: number, user: User) {
this.http.put(this.baseUrl + 'Users/' + id , user);
return this.http.put(this.baseUrl + 'Users/' + id , user);
}
}

0 comments on commit cc1aa4d

Please sign in to comment.