From 89004a639ee24b3fcd2187ddbaa700b9fc0c8625 Mon Sep 17 00:00:00 2001 From: Jane Sandberg Date: Thu, 19 May 2022 14:13:25 -0600 Subject: [PATCH] LP1907974: throwError needs an argument Signed-off-by: Jane Sandberg Signed-off-by: Michele Morgan --- Open-ILS/src/eg2/src/app/staff/share/course.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()] -- 2.11.0