mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-18 17:25:16 -04:00
Merge pull request #709 from hedgedoc/fix/api-notes-metadata
This commit is contained in:
commit
0d95c29df2
4 changed files with 5 additions and 3 deletions
|
@ -195,6 +195,7 @@ export class NotesService {
|
|||
revisions.push(Revision.create(noteContent, noteContent));
|
||||
note.revisions = Promise.resolve(revisions);
|
||||
await this.noteRepository.save(note);
|
||||
return this.toNoteDto(note);
|
||||
}
|
||||
|
||||
async getNoteMetadata(noteIdOrAlias: string): Promise<NoteMetadataDto> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue