[DURACOM-312] set the newly created impersonatingID filed in UploaderOptions.

(cherry picked from commit c70fe184208805be8657d4373f50f193e2c6e85f)
This commit is contained in:
Adamo
2024-12-06 09:18:47 +01:00
parent 4b0ab8161f
commit 70c6af3630

View File

@@ -209,6 +209,7 @@ export class SubmissionFormComponent implements OnChanges, OnDestroy {
distinctUntilChanged())
.subscribe((endpointURL) => {
this.uploadFilesOptions.authToken = this.authService.buildAuthHeader();
this.uploadFilesOptions.impersonatingID = this.authService.getImpersonateID();
this.uploadFilesOptions.url = endpointURL.concat(`/${this.submissionId}`);
this.definitionId = this.submissionDefinition.name;
this.submissionService.dispatchInit(