hedgedoc/backend
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
..
docker chore(deps): update node.js to 37750e5 2023-09-30 01:12:33 +00:00
public
src fix(session-service): properly handle session store results 2023-10-07 19:01:57 +02:00
test
.editorconfig
.env
.eslintrc.js
.gitignore
.prettierrc.json
.prettierrc.json.license
CHANGELOG.md refactor: remove dropbox, facebook & twitter login 2023-10-07 13:28:37 +02:00
eslint-local-rules.js
jest-e2e.json
jest-e2e.json.license
nest-cli.json
nest-cli.json.license
package.json chore(deps): update to git version of ts-node 2023-10-07 19:01:57 +02:00
package.json.license
tsconfig.build.json
tsconfig.build.json.license
tsconfig.json
tsconfig.json.license