mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 01:25:17 +01:00
16 lines
310 B
JavaScript
16 lines
310 B
JavaScript
'use strict';
|
|
|
|
import fetch from '../utils/fetch';
|
|
|
|
let EditionFetcher = {
|
|
/**
|
|
* Fetch one user from the API.
|
|
* If no arg is supplied, load the current user
|
|
*/
|
|
fetchOne(editionId) {
|
|
return fetch.get('edition', {'bitcoin_id': editionId});
|
|
}
|
|
};
|
|
|
|
export default EditionFetcher;
|