NotesService: Add TODO that createNote still needs to calculate a proper patch

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2020-09-26 16:01:01 +02:00
parent 8fada8809c
commit a0740ffdf7
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -74,6 +74,7 @@ export class NotesService {
): Promise<Note> { ): Promise<Note> {
const newNote = Note.create(); const newNote = Note.create();
newNote.revisions = Promise.resolve([ newNote.revisions = Promise.resolve([
//TODO: Calculate patch
Revision.create(noteContent, noteContent), Revision.create(noteContent, noteContent),
]); ]);
if (alias) { if (alias) {