Skip to content

Commit 70c6af3

Browse files
committed
[DURACOM-312] set the newly created impersonatingID filed in UploaderOptions.
(cherry picked from commit c70fe184208805be8657d4373f50f193e2c6e85f)
1 parent 4b0ab81 commit 70c6af3

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
@@ -209,6 +209,7 @@ export class SubmissionFormComponent implements OnChanges, OnDestroy {
209209
distinctUntilChanged())
210210
.subscribe((endpointURL) => {
211211
this.uploadFilesOptions.authToken = this.authService.buildAuthHeader();
212+
this.uploadFilesOptions.impersonatingID = this.authService.getImpersonateID();
212213
this.uploadFilesOptions.url = endpointURL.concat(`/${this.submissionId}`);
213214
this.definitionId = this.submissionDefinition.name;
214215
this.submissionService.dispatchInit(

0 commit comments

Comments
 (0)