hedgedoc/backend/src/sessions
David Mehren 56e2270736 fix(session-service): properly handle session store results
Previously, an undefined result in fetchUsernameForSessionId
was handled the same way as an error, rejecting the promise.

This fixes the behavior, only rejecting the promise if an error
is returned from the session store and properly returning
undefined if the session store returns that.

Signed-off-by: David Mehren <git@herrmehren.de>
2023-10-07 19:01:57 +02:00
..
session.entity.ts Move session entity to sessions folder 2023-07-06 12:07:44 +02:00
session.module.ts fix(session-service): properly handle session store results 2023-10-07 19:01:57 +02:00
session.service.spec.ts fix(session-service): properly handle session store results 2023-10-07 19:01:57 +02:00
session.service.ts fix(session-service): properly handle session store results 2023-10-07 19:01:57 +02:00