1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-28 00:28:00 +02:00

Fix api endpoints

This commit is contained in:
Brett Sun 2015-11-24 18:17:38 +01:00
parent a72fea5db4
commit 2e03ab584a

View File

@ -19,12 +19,12 @@ function getWalletApiUrls(subdomain) {
}; };
} else if (subdomain === 'lumenus' || subdomain === '23vivi') { } else if (subdomain === 'lumenus' || subdomain === '23vivi') {
return { return {
'editions_list': walletConstants.walletApiEndpoint + 'market/' + subdomain + '/pieces/${piece_id}/editions/', 'editions_list': walletConstants.walletApiEndpoint + 'markets/' + subdomain + '/pieces/${piece_id}/editions/',
'edition': walletConstants.walletApiEndpoint + 'market/' + subdomain + '/editions/${bitcoin_id}/', 'edition': walletConstants.walletApiEndpoint + 'markets/' + subdomain + '/editions/${bitcoin_id}/',
'pieces_list': walletConstants.walletApiEndpoint + 'market/' + subdomain + '/pieces/', 'pieces_list': walletConstants.walletApiEndpoint + 'markets/' + subdomain + '/pieces/',
'piece': walletConstants.walletApiEndpoint + 'market/' + subdomain + '/pieces/${piece_id}/', 'piece': walletConstants.walletApiEndpoint + 'markets/' + subdomain + '/pieces/${piece_id}/',
'piece_extradata': walletConstants.walletApiEndpoint + 'market/' + subdomain + '/pieces/${piece_id}/extradata/', 'piece_extradata': walletConstants.walletApiEndpoint + 'markets/' + subdomain + '/pieces/${piece_id}/extradata/',
'user': walletConstants.walletApiEndpoint + 'market/' + subdomain + '/users/' 'user': walletConstants.walletApiEndpoint + 'markets/' + subdomain + '/users/'
}; };
} }
return {}; return {};