mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 09:46:30 -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
ab4ecf6a8f
commit
776c230877
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