Permalink
Browse files

fix(config): Be more permissive when looking for the default endpoint

  • Loading branch information...
RWOverdijk committed Jan 17, 2016
1 parent 231b451 commit 5b0d0f53261fc2c6958d06a8a994ca1a2a470e58
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/config.js
@@ -52,7 +52,7 @@ export class Config {
* @return {Rest|null}
*/
getEndpoint(name) {
if (typeof name === 'undefined') {
if (!name) {
return this.defaultEndpoint || null;
}

0 comments on commit 5b0d0f5

Please sign in to comment.