mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-29 00:20:04 +01:00
core: fix reset attachment failed status
This commit is contained in:
@@ -351,7 +351,7 @@ export class Attachments implements ICollection {
|
||||
|
||||
markAsFailed(id: string, reason?: string) {
|
||||
return this.collection.update([id], {
|
||||
failed: reason
|
||||
failed: !reason ? null : reason
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user