mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 01:13:14 +01:00
Merge pull request #179 from ascribe/remove-unused-api-endpoint
Remove edition_index endpoint
This commit is contained in:
commit
b6c8e5c65e
@ -60,7 +60,6 @@ let ApiUrls = {
|
||||
'ownership_contract_list': AppConstants.apiEndpoint + 'ownership/contracts/',
|
||||
'piece': AppConstants.apiEndpoint + 'pieces/${piece_id}/',
|
||||
'piece_extradata': AppConstants.apiEndpoint + 'pieces/${piece_id}/extradata/',
|
||||
'piece_first_edition_id': AppConstants.apiEndpoint + 'pieces/${piece_id}/edition_index/',
|
||||
'pieces_list': AppConstants.apiEndpoint + 'pieces/',
|
||||
'piece_remove_from_collection': AppConstants.apiEndpoint + 'ownership/shares/pieces/${piece_id}/',
|
||||
'user': AppConstants.apiEndpoint + 'users/',
|
||||
|
@ -30,10 +30,6 @@ let PieceListFetcher = {
|
||||
|
||||
fetchRequestActions() {
|
||||
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