19273: Fix list queries not mapping keys to camelcase when showErrors is false
[arvados-workbench2.git] / 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
             );
         }