Skip to content

Commit

Permalink
default fallback for providers
Browse files Browse the repository at this point in the history
  • Loading branch information
morganherlocker committed May 2, 2019
1 parent 90427c6 commit ef320bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Expand Up @@ -101,7 +101,7 @@ function serve(done) {
method: "GET",
path: "/providers",
handler: (request, h) => {
return Object.keys(config.providers).filter(p => {
return Object.keys(config.providers || {}).filter(p => {
return config.providers[p].enabled;
});
}
Expand Down

0 comments on commit ef320bb

Please sign in to comment.