Skip to content

Commit 3cff971

Browse files
AdamF42github-actions[bot]
authored andcommitted
[DURACOM-312] set the newly created impersonatingID filed in UploaderOptions.
(cherry picked from commit c70fe184208805be8657d4373f50f193e2c6e85f) (cherry picked from commit 70c6af3)
1 parent 49b27b5 commit 3cff971

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/submission/form/submission-form.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ export class SubmissionFormComponent implements OnChanges, OnDestroy {
173173
distinctUntilChanged())
174174
.subscribe((endpointURL) => {
175175
this.uploadFilesOptions.authToken = this.authService.buildAuthHeader();
176+
this.uploadFilesOptions.impersonatingID = this.authService.getImpersonateID();
176177
this.uploadFilesOptions.url = endpointURL.concat(`/${this.submissionId}`);
177178
this.definitionId = this.submissionDefinition.name;
178179
this.submissionService.dispatchInit(

0 commit comments

Comments
 (0)