From: Jane Sandberg Date: Thu, 19 May 2022 20:13:25 +0000 (-0600) Subject: LP1907974: throwError needs an argument X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=89004a639ee24b3fcd2187ddbaa700b9fc0c8625;p=evergreen%2Fpines.git LP1907974: throwError needs an argument Signed-off-by: Jane Sandberg Signed-off-by: Michele Morgan --- diff --git a/Open-ILS/src/eg2/src/app/staff/share/course.service.ts b/Open-ILS/src/eg2/src/app/staff/share/course.service.ts index 6f56fe0477..cb6e9543bb 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/course.service.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/course.service.ts @@ -241,7 +241,7 @@ export class CourseService { cn.label_class() ).pipe(switchMap(res => { const event = this.evt.parse(res); - if (event) { return throwError; } + if (event) { return throwError(event); } return this.net.request( 'open-ils.cat', 'open-ils.cat.transfer_copies_to_volume', this.auth.token(), res.acn_id, [item.id()]