mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 03:06:31 -05:00
56e2270736
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> |
||
---|---|---|
.. | ||
session.entity.ts | ||
session.module.ts | ||
session.service.spec.ts | ||
session.service.ts |