@hmcts/ccd-case-ui-toolkit 7.0.33-node-store-caseworkers → 7.0.33-rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/shared/components/case-editor/services/case-worker.service.mjs +3 -3
- package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs +2 -2
- package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs +2 -2
- package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -8145,9 +8145,9 @@ class CaseworkerService {
|
|
|
8145
8145
|
this.errorService = errorService;
|
|
8146
8146
|
}
|
|
8147
8147
|
getCaseworkers(serviceId) {
|
|
8148
|
-
const url = `${this.appConfig.getWorkAllocationApiUrl()}/
|
|
8148
|
+
const url = `${this.appConfig.getWorkAllocationApiUrl()}/retrieveCaseWorkersForServices`;
|
|
8149
8149
|
return this.http
|
|
8150
|
-
.post(url, {
|
|
8150
|
+
.post(url, { serviceIds: [serviceId] })
|
|
8151
8151
|
.pipe(catchError(error => {
|
|
8152
8152
|
this.errorService.setError(error);
|
|
8153
8153
|
return throwError(error);
|