mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 09:23:13 +01:00
Remove edition_index endpoint
This commit is contained in:
parent
55dc1c997a
commit
ddebccbe1c
@ -60,7 +60,6 @@ let ApiUrls = {
|
|||||||
'ownership_contract_list': AppConstants.apiEndpoint + 'ownership/contracts/',
|
'ownership_contract_list': AppConstants.apiEndpoint + 'ownership/contracts/',
|
||||||
'piece': AppConstants.apiEndpoint + 'pieces/${piece_id}/',
|
'piece': AppConstants.apiEndpoint + 'pieces/${piece_id}/',
|
||||||
'piece_extradata': AppConstants.apiEndpoint + 'pieces/${piece_id}/extradata/',
|
'piece_extradata': AppConstants.apiEndpoint + 'pieces/${piece_id}/extradata/',
|
||||||
'piece_first_edition_id': AppConstants.apiEndpoint + 'pieces/${piece_id}/edition_index/',
|
|
||||||
'pieces_list': AppConstants.apiEndpoint + 'pieces/',
|
'pieces_list': AppConstants.apiEndpoint + 'pieces/',
|
||||||
'piece_remove_from_collection': AppConstants.apiEndpoint + 'ownership/shares/pieces/${piece_id}/',
|
'piece_remove_from_collection': AppConstants.apiEndpoint + 'ownership/shares/pieces/${piece_id}/',
|
||||||
'user': AppConstants.apiEndpoint + 'users/',
|
'user': AppConstants.apiEndpoint + 'users/',
|
||||||
|
@ -30,10 +30,6 @@ let PieceListFetcher = {
|
|||||||
|
|
||||||
fetchRequestActions() {
|
fetchRequestActions() {
|
||||||
return requests.get('pieces_list_request_actions');
|
return requests.get('pieces_list_request_actions');
|
||||||
},
|
|
||||||
|
|
||||||
fetchFirstEditionForPiece(pieceId) {
|
|
||||||
return requests.get('piece_first_edition_id', {'piece_id': pieceId});
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user