Skip to content

Commit 2f4a667

Browse files
committed
[CST-5197] fix issue with uploading file during workflow
1 parent acb842e commit 2f4a667

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export class SubmissionFormComponent implements OnChanges, OnDestroy {
155155

156156
// init submission state
157157
this.subs.push(
158-
this.halService.getEndpoint('workspaceitems').pipe(
158+
this.halService.getEndpoint(this.submissionService.getSubmissionObjectLinkName()).pipe(
159159
filter((href: string) => isNotEmpty(href)),
160160
distinctUntilChanged())
161161
.subscribe((endpointURL) => {

0 commit comments

Comments
 (0)