diff options
author | Hayden Hartman <haydenhartman10@gmail.com> | 2025-03-18 07:50:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-18 07:50:55 -0400 |
commit | 3362bba1ccf1cee3985be95ab74a2456e6503d7a (patch) | |
tree | 64f6b52fbd4714a29be0102ac988cb7ab02dbb33 /ufund-ui/src/app/services/users.service.ts | |
parent | f063bf6e8634386f6ae3a3cf13fe2228e74454c9 (diff) | |
parent | bd41fc58b5537a12072625bbf75baf75d5ed2274 (diff) | |
download | JellySolutions-3362bba1ccf1cee3985be95ab74a2456e6503d7a.tar.gz JellySolutions-3362bba1ccf1cee3985be95ab74a2456e6503d7a.tar.bz2 JellySolutions-3362bba1ccf1cee3985be95ab74a2456e6503d7a.zip |
Merge pull request #13 from RIT-SWEN-261-02/funding_basketv2.0
funding-basket merge
Diffstat (limited to 'ufund-ui/src/app/services/users.service.ts')
-rw-r--r-- | ufund-ui/src/app/services/users.service.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ufund-ui/src/app/services/users.service.ts b/ufund-ui/src/app/services/users.service.ts index c570ccf..bc31870 100644 --- a/ufund-ui/src/app/services/users.service.ts +++ b/ufund-ui/src/app/services/users.service.ts @@ -40,8 +40,10 @@ export class UsersService { return this.http.get<User>(`${this.url}/${id}`, this.httpOptions) } - updateUser(id: number): Observable<User> { - return this.http.put<User>(`${this.url}/${id}`, this.httpOptions) + updateUser(id: string, user: User): Observable<User> { + console.log(id, user) + console.log(this.apiKey) + return this.http.put<User>(`${this.url}/${id}`,user, this.httpOptions) } deleteUser(id: number): Observable<boolean> { |