mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACS-6804] Fix upload API file placement when relative path is undefined (#9342)
This commit is contained in:
@@ -31,7 +31,7 @@ export class UploadApi extends NodesApi {
|
||||
const nodeBodyRequired = {
|
||||
name: fileDefinition.name,
|
||||
nodeType: 'cm:content',
|
||||
relativePath
|
||||
relativePath: relativePath ?? null
|
||||
};
|
||||
|
||||
nodeBody = Object.assign(nodeBodyRequired, nodeBody);
|
||||
|
Reference in New Issue
Block a user