mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-16 16:14:43 -04:00
Reformat code by yarn format
Signed-off-by: Yannick Bungers <git@innay.de>
This commit is contained in:
parent
5920a1c72f
commit
22aaa956a7
8 changed files with 73 additions and 62 deletions
|
@ -24,9 +24,7 @@ export class RevisionsService {
|
|||
this.logger.setContext(RevisionsService.name);
|
||||
}
|
||||
|
||||
async getAllRevisions(
|
||||
noteIdOrAlias: string,
|
||||
): Promise<Revision[]> {
|
||||
async getAllRevisions(noteIdOrAlias: string): Promise<Revision[]> {
|
||||
const note = await this.notesService.getNoteByIdOrAlias(noteIdOrAlias);
|
||||
return await this.revisionRepository.find({
|
||||
where: {
|
||||
|
@ -88,7 +86,7 @@ export class RevisionsService {
|
|||
};
|
||||
}
|
||||
|
||||
createRevision(content: string) : Revision {
|
||||
createRevision(content: string): Revision {
|
||||
// TODO: Add previous revision
|
||||
// TODO: Calculate patch
|
||||
// TODO: Save metadata
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue