mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 18:38:36 +08:00
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:
@ -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;
|
||||
|
Reference in New Issue
Block a user