Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob McGuinness committed May 4, 2018
2 parents 4d22897 + 55b55af commit d939c0d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/api-core/src/ms.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ export default class AvMicroservice extends AvApi {

// override aries 1 url concatentation
getUrl(config, id = '') {
const { path, name } = this.config(config);
const { path, name, id: configId } = this.config(config);
let parts = [path, name];
if (id) {
parts = [path, name, id];
if (id || configId) {
parts = [path, name, id || configId];
}
return parts
.join('/')
Expand Down

0 comments on commit d939c0d

Please sign in to comment.