Fix up following rebase, use array of strings rather than its own func

This commit is contained in:
John Cowen 2018-06-21 11:06:45 +01:00
parent 6d55c7a98c
commit 2c495a9382

View file

@ -17,9 +17,7 @@ export default function(type) {
url = ['/v1/acl/list']; url = ['/v1/acl/list'];
break; break;
case 'session': case 'session':
url = function(url) { url = ['/v1/session/node/'];
return url.indexOf('/v1/session/node/') === 0;
};
break; break;
} }
return function(actual) { return function(actual) {