mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-23 05:52:19 +00: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> |
||
---|---|---|
.. | ||
docker | ||
public | ||
src | ||
test | ||
.editorconfig | ||
.env | ||
.eslintrc.js | ||
.gitignore | ||
.prettierrc.json | ||
.prettierrc.json.license | ||
CHANGELOG.md | ||
eslint-local-rules.js | ||
jest-e2e.json | ||
jest-e2e.json.license | ||
nest-cli.json | ||
nest-cli.json.license | ||
package.json | ||
package.json.license | ||
tsconfig.build.json | ||
tsconfig.build.json.license | ||
tsconfig.json | ||
tsconfig.json.license |