hedgedoc/src/revisions
David Mehren a6e245c551
RevisionsService: Throw NotInDBError on empty DB result
This adds error handling to various getters, so they throw a
NotInDBError instead of (illegally, according to the type) returning
null.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-05-09 20:59:30 +02:00
..
authorship.entity.ts auth: Add tests for AuthService 2021-01-25 21:30:02 +01:00
revision-metadata.dto.ts Docs: Add ApiProperty to all Dtos 2021-03-19 12:08:34 +01:00
revision.dto.ts Docs: Add ApiProperty to all Dtos 2021-03-19 12:08:34 +01:00
revision.entity.ts auth: Add tests for AuthService 2021-01-25 21:30:02 +01:00
revisions.module.ts Config: Add forbiddenNoteIds to AppConfig 2021-02-27 23:04:49 +01:00
revisions.service.spec.ts RevisionsService: Throw NotInDBError on empty DB result 2021-05-09 20:59:30 +02:00
revisions.service.ts RevisionsService: Throw NotInDBError on empty DB result 2021-05-09 20:59:30 +02:00