Skip to content

Commit

Permalink
Fix api conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
jenananthan committed Mar 9, 2016
1 parent 62a7789 commit ee542c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -913,7 +913,7 @@ require('/modules/publisher.js').exec(function(ctx) {


//get uuid of given asset for-> provider,name,lifecycle state
routeManager.register('GET', 'publisher', '/publisher/api/asset/get/uuid/list/{type}/{provider}/{name}/{lifecyclestate}',
routeManager.register('GET', 'publisher', '/publisher/api/asset/get/uuid/list/state/{type}/{provider}/{name}/{lifecyclestate}',
function (context) {
var assetProvider = context.params.provider;
var assetName = context.params.name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ function isPublishedToExternalStore(action, provider, name, version) {
function isPublishedVersionsAvailable(provider, name) {
var result;
$.ajax({
url: caramel.context + '/api/asset/get/uuid/list/' + 'webapp' + '/' + provider + '/' + name + '/'
url: caramel.context + '/api/asset/get/uuid/list/state/' + 'webapp' + '/' + provider + '/' + name + '/'
+ 'Published',
type: 'GET',
async: false,
Expand Down

0 comments on commit ee542c3

Please sign in to comment.