MisplacedAttachmentIndex.addUser method
MisplacedAttachmentIndex › addUser
Records that a note references an attachment, wherever the attachment sits.Signature:
addUser(attachmentPath: string, notePath: string): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| attachmentPath | string | The attachment's vault-relative path. |
| notePath | string | The referencing note's vault-relative path. |
Returns: void