mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 06:34:39 -04:00
refactor: remove cycling dependency between notes and revisions
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
8cdc90bb8e
commit
8596bed729
7 changed files with 10 additions and 66 deletions
|
@ -361,7 +361,7 @@ describe('Notes', () => {
|
|||
|
||||
'test7',
|
||||
);
|
||||
const revision = await testSetup.notesService.getLatestRevision(note);
|
||||
const revision = await testSetup.revisionsService.getLatestRevision(note);
|
||||
const response = await request(testSetup.app.getHttpServer())
|
||||
.get(`/api/v2/notes/test7/revisions/${revision.id}`)
|
||||
.expect('Content-Type', /json/)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue