NoteSerializer: Do not serialize the filePath as metadata

This is a bug since we change this field from fileName to filePath.
This commit is contained in:
Vishesh Handa
2019-02-15 19:30:12 +01:00
parent 2b1ac39a9d
commit 7128e736d9

View File

@ -50,7 +50,7 @@ class MarkdownYAMLSerializer implements NoteSerializer {
var metadata = note.toJson();
metadata.remove('body');
metadata.remove('fileName');
metadata.remove('filePath');
str += toYAML(metadata);
str += serparator;