LP1907974: throwError needs an argument
authorJane Sandberg <js7389@princeton.edu>
Thu, 19 May 2022 20:13:25 +0000 (14:13 -0600)
committerMichele Morgan <mmorgan@noblenet.org>
Tue, 27 Sep 2022 17:52:46 +0000 (13:52 -0400)
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Open-ILS/src/eg2/src/app/staff/share/course.service.ts

index 6f56fe0..cb6e954 100644 (file)
@@ -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()]