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