19273: Fix list queries not mapping keys to camelcase when showErrors is false
authorStephen Smith <stephen@curii.com>
Fri, 27 Jan 2023 19:02:04 +0000 (14:02 -0500)
committerStephen Smith <stephen@curii.com>
Fri, 27 Jan 2023 19:02:04 +0000 (14:02 -0500)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

src/services/common-service/common-service.ts

index 9a5b767306023ce21673d26427a23d721bd785b6..4b857eddbb8233239d2d4d152928f0a93c86e9e1 100644 (file)
@@ -154,6 +154,7 @@ export class CommonService<T> {
             return CommonService.defaultResponse(
                 this.serverApi.get(`/${this.resourceType}`, { params }),
                 this.actions,
+                true,
                 showErrors
             );
         } else {
@@ -170,6 +171,7 @@ export class CommonService<T> {
             return CommonService.defaultResponse(
                 this.serverApi.post(`/${this.resourceType}`, formData, {}),
                 this.actions,
+                true,
                 showErrors
             );
         }