aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/services/users.service.ts
diff options
context:
space:
mode:
authorAkash Keshav <112591754+domesticchores@users.noreply.github.com>2025-03-18 17:10:10 -0400
committerAkash Keshav <112591754+domesticchores@users.noreply.github.com>2025-03-18 17:10:10 -0400
commit0268894e5b80c908d2c3eb5c2228ee22fde52904 (patch)
treee87d2878445fadbe74ac935640bd9934882d4bb3 /ufund-ui/src/app/services/users.service.ts
parentca7d72e43407a49b147673ebc5ab8b155a8216ac (diff)
downloadJellySolutions-0268894e5b80c908d2c3eb5c2228ee22fde52904.tar.gz
JellySolutions-0268894e5b80c908d2c3eb5c2228ee22fde52904.tar.bz2
JellySolutions-0268894e5b80c908d2c3eb5c2228ee22fde52904.zip
cleaned up outputs. -ak
Diffstat (limited to 'ufund-ui/src/app/services/users.service.ts')
-rw-r--r--ufund-ui/src/app/services/users.service.ts5
1 files changed, 0 insertions, 5 deletions
diff --git a/ufund-ui/src/app/services/users.service.ts b/ufund-ui/src/app/services/users.service.ts
index ddbd322..dba8185 100644
--- a/ufund-ui/src/app/services/users.service.ts
+++ b/ufund-ui/src/app/services/users.service.ts
@@ -45,10 +45,6 @@ export class UsersService {
}
updateUser(user: User): Observable<User> {
- console.log("REMOVING USER IN ANGULAR: ", user)
- console.log(user, user.basket)
- console.log(this.apiKey)
-
return this.http.put<User>(`${this.url}/${user.username}`,user, this.httpOptions2)
}
@@ -90,7 +86,6 @@ export class UsersService {
let newArr = this.basket.getValue().filter(v => v.id != id);
this.basket.next(newArr);
this.getCurrentUser()!.basket = newArr.map(need => need.id);
- console.log(this.getCurrentUser()!.basket)
this.updateUser(this.getCurrentUser()!).subscribe(() => {
this.refreshBasket();
error: (err: any) => {