hedgedoc/src/history
David Mehren 8357f3072c
HistoryService: Throw NotInDBError on empty DB result
This adds error handling to getEntryByNote, so it throws a
NotInDBError instead of (illegally, according to the type) returning
null.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-04-29 16:16:30 +02:00
..
history-entry-import.dto.ts PrivateAPI: Add lastVisited to HistoryEntryImportDto 2021-04-11 12:37:47 +02:00
history-entry-update.dto.ts Docs: Add ApiProperty to all Dtos 2021-03-19 12:08:34 +01:00
history-entry.dto.ts Docs: Add ApiProperty to all Dtos 2021-03-19 12:08:34 +01:00
history-entry.entity.ts History: Add history service and usage 2021-02-03 21:22:55 +01:00
history.module.ts Config: Add forbiddenNoteIds to AppConfig 2021-02-20 22:15:04 +01:00
history.service.spec.ts HistoryService: Add test for setHistory 2021-04-11 22:06:36 +02:00
history.service.ts HistoryService: Throw NotInDBError on empty DB result 2021-04-29 16:16:30 +02:00