diff options
Diffstat (limited to '')
| -rw-r--r-- | ufund-ui/src/app/services/cupboard.service.ts | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/ufund-ui/src/app/services/cupboard.service.ts b/ufund-ui/src/app/services/cupboard.service.ts index 9232c0c..694bb94 100644 --- a/ufund-ui/src/app/services/cupboard.service.ts +++ b/ufund-ui/src/app/services/cupboard.service.ts @@ -23,8 +23,8 @@ export class CupboardService {          private authService: AuthService      ) {} -    createNeed(need: Need): Observable<boolean> { -        return this.http.post<boolean>(this.url, need, this.httpOptions()) +    createNeed(need: Need): Observable<Need> { +        return this.http.post<Need>(this.url, need, this.httpOptions())      }      getNeeds(): Observable<Need[]> {  | 
