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

(cherry picked from commit c70fe184208805be8657d4373f50f193e2c6e85f)
(cherry picked from commit 70c6af3630)
This commit is contained in:
Adamo
2024-12-06 09:18:47 +01:00
committed by github-actions[bot]
parent 49b27b5bc0
commit 3cff971297

View File

@@ -173,6 +173,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(