hedgedoc/src
David Mehren a32d9e8305 fix(api/private/auth): wait for error
Previously, the `logout` method immediately returned and did not wait
for the possible error callback.

This wraps the call to `session.destroy` into a promise,
so the error can be properly handled.

Signed-off-by: David Mehren <git@herrmehren.de>
2022-03-06 22:24:21 +01:00
..
api fix(api/private/auth): wait for error 2022-03-06 22:24:21 +01:00
auth refactor: merge AuthTokenDTOs into one file 2022-03-06 22:24:21 +01:00
authors refactor(author): lazy-load relations 2021-11-16 18:45:40 +01:00
config test: add unit test for noteConfig 2022-03-06 21:42:19 +01:00
errors fix: correctly initialize exception mapping 2022-02-14 11:28:02 +01:00
frontend-config refactor: use a base dto class 2022-02-20 20:56:09 +01:00
groups refactor: use a base dto class 2022-02-20 20:56:09 +01:00
history refactor(history-service): use NoteService to get note 2022-03-06 22:24:21 +01:00
identity refactor: move error messages from controller to service 2022-02-07 00:08:41 +01:00
logger Enforce import order with prettier 2021-08-29 18:45:46 +02:00
media fix: ensure dates are properly transformed 2022-03-06 20:54:46 +01:00
monitoring refactor: use a base dto class 2022-02-20 20:56:09 +01:00
notes fix: ensure dates are properly transformed 2022-03-06 20:54:46 +01:00
permissions refactor: move permissions decorator into api utils dir 2022-02-20 20:56:09 +01:00
revisions fix: ensure dates are properly transformed 2022-03-06 20:54:46 +01:00
users feat(user-info-dto): split email into separate DTO 2022-03-01 20:20:18 +01:00
utils feat(validation): send error message to client 2022-03-06 20:52:52 +01:00
app.module.ts refactor(config): extract note config from app config 2022-01-30 22:19:50 +01:00
main.ts fix: correctly initialize exception mapping 2022-02-14 11:28:02 +01:00
seed.ts refactor(user): lazy-load relations 2021-12-05 22:03:41 +01:00