mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-23 18:26:32 -05:00
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:
parent
8fada8809c
commit
a0740ffdf7
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ export class NotesService {
|
|||
): Promise<Note> {
|
||||
const newNote = Note.create();
|
||||
newNote.revisions = Promise.resolve([
|
||||
//TODO: Calculate patch
|
||||
Revision.create(noteContent, noteContent),
|
||||
]);
|
||||
if (alias) {
|
||||
|
|
Loading…
Reference in a new issue