mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 09:35:10 +01:00
16 lines
327 B
JavaScript
16 lines
327 B
JavaScript
import fetch from '../utils/fetch';
|
|
|
|
import AppConstants from '../constants/application_constants';
|
|
|
|
|
|
let EditionListFetcher = {
|
|
/**
|
|
* Fetches a list of editions from the API.
|
|
*/
|
|
fetch(pieceId) {
|
|
return fetch.get('editions_list', { 'piece_id': pieceId });
|
|
}
|
|
};
|
|
|
|
export default EditionListFetcher;
|