From 885720d5a7f3346794e44df451b912fec3653b84 Mon Sep 17 00:00:00 2001 From: Dan Date: Thu, 27 Jan 2022 15:09:29 -0500 Subject: [PATCH] Fixing a bug that prevented the upload of reference files. --- package-lock.json | 26 +++++++++---------- package.json | 2 +- .../reference-files.component.spec.ts | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/package-lock.json b/package-lock.json index bd84348..0f702d3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -43,7 +43,7 @@ "ngx-markdown": "^12.0.1", "protractor": "^7.0.0", "rxjs": "^6.5.3", - "sartography-workflow-lib": "0.0.590", + "sartography-workflow-lib": "0.0.591", "tslib": "^2.3.0", "uuid": "^8.3.2", "zone.js": "~0.11.4" @@ -11839,9 +11839,9 @@ } }, "node_modules/min-dash": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/min-dash/-/min-dash-3.7.0.tgz", - "integrity": "sha512-IlEbbItQU7tipoa4aAWocSuhR76jKqQG/N2+/Mh7d+BLZ3UmQl57ppKhziPY/TXBGps9+M8BC1c7AzqcYLp5BA==" + "version": "3.8.1", + "resolved": "https://registry.npmjs.org/min-dash/-/min-dash-3.8.1.tgz", + "integrity": "sha512-evumdlmIlg9mbRVPbC4F5FuRhNmcMS5pvuBUbqb1G9v09Ro0ImPEgz5n3khir83lFok1inKqVDjnKEg3GpDxQg==" }, "node_modules/min-dom": { "version": "3.1.3", @@ -16865,9 +16865,9 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "node_modules/sartography-workflow-lib": { - "version": "0.0.590", - "resolved": "https://registry.npmjs.org/sartography-workflow-lib/-/sartography-workflow-lib-0.0.590.tgz", - "integrity": "sha512-ezwqapFq4xaVO3OwQc39uDi4LOVSIcr4aYGuTQ6Ke+CmLFHQcPGFiVMPwLrDn9FPokzFTXNDQd1YlkkHjFEUgg==", + "version": "0.0.591", + "resolved": "https://registry.npmjs.org/sartography-workflow-lib/-/sartography-workflow-lib-0.0.591.tgz", + "integrity": "sha512-ODIwDgqLAC8Yi/JsGvaLIJug1Os9l/vI/2vu8DJXj5g2yS4ISxFc4Ec5nXAaY5E0IhrPWLu32IIuZaQhQtFTIw==", "dependencies": { "tslib": "^2.2.0" } @@ -29654,9 +29654,9 @@ "dev": true }, "min-dash": { - "version": "3.7.0", - "resolved": "https://registry.npmjs.org/min-dash/-/min-dash-3.7.0.tgz", - "integrity": "sha512-IlEbbItQU7tipoa4aAWocSuhR76jKqQG/N2+/Mh7d+BLZ3UmQl57ppKhziPY/TXBGps9+M8BC1c7AzqcYLp5BA==" + "version": "3.8.1", + "resolved": "https://registry.npmjs.org/min-dash/-/min-dash-3.8.1.tgz", + "integrity": "sha512-evumdlmIlg9mbRVPbC4F5FuRhNmcMS5pvuBUbqb1G9v09Ro0ImPEgz5n3khir83lFok1inKqVDjnKEg3GpDxQg==" }, "min-dom": { "version": "3.1.3", @@ -33368,9 +33368,9 @@ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" }, "sartography-workflow-lib": { - "version": "0.0.590", - "resolved": "https://registry.npmjs.org/sartography-workflow-lib/-/sartography-workflow-lib-0.0.590.tgz", - "integrity": "sha512-ezwqapFq4xaVO3OwQc39uDi4LOVSIcr4aYGuTQ6Ke+CmLFHQcPGFiVMPwLrDn9FPokzFTXNDQd1YlkkHjFEUgg==", + "version": "0.0.591", + "resolved": "https://registry.npmjs.org/sartography-workflow-lib/-/sartography-workflow-lib-0.0.591.tgz", + "integrity": "sha512-ODIwDgqLAC8Yi/JsGvaLIJug1Os9l/vI/2vu8DJXj5g2yS4ISxFc4Ec5nXAaY5E0IhrPWLu32IIuZaQhQtFTIw==", "requires": { "tslib": "^2.2.0" } diff --git a/package.json b/package.json index 91ce4da..a1beef2 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "ngx-markdown": "^12.0.1", "protractor": "^7.0.0", "rxjs": "^6.5.3", - "sartography-workflow-lib": "0.0.590", + "sartography-workflow-lib": "0.0.591", "tslib": "^2.3.0", "uuid": "^8.3.2", "zone.js": "~0.11.4" diff --git a/src/app/reference-files/reference-files.component.spec.ts b/src/app/reference-files/reference-files.component.spec.ts index eab936a..ba220c7 100644 --- a/src/app/reference-files/reference-files.component.spec.ts +++ b/src/app/reference-files/reference-files.component.spec.ts @@ -115,7 +115,7 @@ describe('ReferenceFilesComponent', () => { expect(fReq.request.method).toEqual('GET'); fReq.flush(mockArrayBuffer, {headers: mockHeaders}); - const updateReq = httpMock.expectOne(`apiRoot/reference_file/${mockFileMetaReference0.name}`); + const updateReq = httpMock.expectOne(`apiRoot/reference_file/${mockFileMetaReference0.name}/data`); expect(updateReq.request.method).toEqual('PUT'); updateReq.flush(mockArrayBuffer, {headers: mockHeaders});