Skip to content

Commit

Permalink
fix: failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ivarconr committed Apr 15, 2021
1 parent 9f3ca73 commit 5214a7f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib/routes/admin-api/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ class ConfigController extends Controller {
constructor(config, { versionService }) {
super(config);
this.versionService = versionService;
const authenticationType = config.authentication.type;
const authenticationType =
config.authentication && config.authentication.type;
this.uiConfig = {
...config.ui,
authenticationType,
Expand Down

0 comments on commit 5214a7f

Please sign in to comment.