You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
Handle resource conflicts
This commit is contained in:
@@ -77,7 +77,7 @@ export default class ResourceEditWatcher {
|
||||
const makeSaveAction = (resourceId:string, path:string) => {
|
||||
return async () => {
|
||||
this.logger().info(`ResourceEditWatcher: Saving resource ${resourceId}`);
|
||||
await shim.updateResourceBlob(resourceId, path);
|
||||
await Resource.updateResourceBlob(resourceId, path);
|
||||
this.eventEmitter_.emit('resourceChange', { id: resourceId });
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user