From b9d7dc1cf8962978652e5814e6a5c936d4ff9b61 Mon Sep 17 00:00:00 2001 From: sowgro Date: Tue, 18 Mar 2025 01:13:04 -0400 Subject: push changes so far --- ufund-ui/src/app/components/need-list/need-list.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ufund-ui/src/app/components/need-list/need-list.component.ts') diff --git a/ufund-ui/src/app/components/need-list/need-list.component.ts b/ufund-ui/src/app/components/need-list/need-list.component.ts index 0e808dc..5bb3887 100644 --- a/ufund-ui/src/app/components/need-list/need-list.component.ts +++ b/ufund-ui/src/app/components/need-list/need-list.component.ts @@ -101,7 +101,7 @@ export class NeedListComponent { return type === ("HELPER" as unknown as userType); } - add(need: Need) { + add(need: number) { const currentUser = this.usersService.getCurrentUser(); if (currentUser) { this.usersService.updateUser(currentUser.username, currentUser).subscribe(() => { @@ -114,7 +114,7 @@ export class NeedListComponent { console.error(err); } }); - + } } -- cgit v1.2.3