mirror of
https://github.com/ascribe/onion.git
synced 2025-02-14 21:10:27 +01:00
Fix lumenus whitelabel api endpoints
This commit is contained in:
parent
4ca8ca8feb
commit
6223248ea0
@ -11,18 +11,19 @@ function getWalletApiUrls(subdomain) {
|
|||||||
'piece_extradata': walletConstants.walletApiEndpoint + subdomain + '/pieces/${piece_id}/extradata/',
|
'piece_extradata': walletConstants.walletApiEndpoint + subdomain + '/pieces/${piece_id}/extradata/',
|
||||||
'user': walletConstants.walletApiEndpoint + subdomain + '/users/'
|
'user': walletConstants.walletApiEndpoint + subdomain + '/users/'
|
||||||
};
|
};
|
||||||
}
|
} else if (subdomain === 'ikonotv') {
|
||||||
else if (subdomain === 'ikonotv'){
|
|
||||||
return {
|
return {
|
||||||
'pieces_list': walletConstants.walletApiEndpoint + subdomain + '/pieces/',
|
'pieces_list': walletConstants.walletApiEndpoint + subdomain + '/pieces/',
|
||||||
'piece': walletConstants.walletApiEndpoint + subdomain + '/pieces/${piece_id}/',
|
'piece': walletConstants.walletApiEndpoint + subdomain + '/pieces/${piece_id}/',
|
||||||
'user': walletConstants.walletApiEndpoint + subdomain + '/users/'
|
'user': walletConstants.walletApiEndpoint + subdomain + '/users/'
|
||||||
};
|
};
|
||||||
}
|
} else if (subdomain === 'lumenus') {
|
||||||
else if (subdomain === 'lumenus'){
|
|
||||||
return {
|
return {
|
||||||
'editions': walletConstants.walletApiEndpoint + subdomain + '/editions/',
|
'editions_list': walletConstants.walletApiEndpoint + subdomain + '/pieces/${piece_id}/editions/',
|
||||||
|
'edition': walletConstants.walletApiEndpoint + subdomain + '/editions/${edition_id}/',
|
||||||
'pieces_list': walletConstants.walletApiEndpoint + subdomain + '/pieces/',
|
'pieces_list': walletConstants.walletApiEndpoint + subdomain + '/pieces/',
|
||||||
|
'piece': walletConstants.walletApiEndpoint + subdomain + '/pieces/${piece_id}/',
|
||||||
|
'piece_extradata': walletConstants.walletApiEndpoint + subdomain + '/pieces/${piece_id}/extradata/',
|
||||||
'user': walletConstants.walletApiEndpoint + subdomain + '/users/'
|
'user': walletConstants.walletApiEndpoint + subdomain + '/users/'
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user