mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
type specified for node object
This commit is contained in:
@@ -308,7 +308,7 @@ export class ShareDialogComponent implements OnInit, OnDestroy {
|
||||
const lastIndex = expiryDate?.lastIndexOf(':');
|
||||
expiryDate = expiryDate?.substring(0, lastIndex) + expiryDate?.substring(lastIndex + 1, expiryDate?.length);
|
||||
}
|
||||
const nodeObject = {
|
||||
const nodeObject: SharedLinkBodyCreate = {
|
||||
nodeId: this.data.node.entry.id,
|
||||
expiresAt: expiryDate as Date
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user