submit to this collection

This commit is contained in:
Ben Bosman
2020-01-10 18:15:28 +01:00
parent feced9f893
commit 3a37f9be12
5 changed files with 21 additions and 23 deletions

View File

@@ -72,7 +72,7 @@ export class SubmissionRestService {
protected getEndpointByIDHref(endpoint, resourceID, collectionId?: string): string {
let url = isNotEmpty(resourceID) ? `${endpoint}/${resourceID}` : `${endpoint}`;
if (collectionId) {
url = new URLCombiner(url, '?owningCollection=' + collectionId).toString();
url = new URLCombiner(url, `?owningCollection=${collectionId}`).toString();
}
return url;
}