You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
API: Added more API calls
This commit is contained in:
@ -143,9 +143,7 @@ function shimInit() {
|
||||
await fs.copy(filePath, targetPath, { overwrite: true });
|
||||
}
|
||||
|
||||
await Resource.save(resource, { isNew: true });
|
||||
|
||||
return resource;
|
||||
return await Resource.save(resource, { isNew: true });
|
||||
}
|
||||
|
||||
shim.attachFileToNote = async function(note, filePath, position = null) {
|
||||
|
Reference in New Issue
Block a user