Skip to content
Permalink
Browse files

default fallback for providers

  • Loading branch information...
morganherlocker committed May 2, 2019
1 parent 90427c6 commit ef320bb2421be730ea4ab78afcd5da9a98cb58b4
Showing with 1 addition and 1 deletion.
  1. +1 −1 server.js
@@ -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;
});
}

0 comments on commit ef320bb

Please sign in to comment.
You can’t perform that action at this time.