1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 09:35:10 +01:00
onion/js/fetchers/whitelabel_fetcher.js

18 lines
352 B
JavaScript
Raw Normal View History

2015-06-29 15:58:47 +02:00
'use strict';
import requests from '../utils/requests';
import { getSubdomain } from '../utils/general_utils';
2015-06-29 15:58:47 +02:00
let WhitelabelFetcher = {
/**
* Fetch the custom whitelabel data from the API.
*/
fetch() {
return requests.get('whitelabel_settings', {'subdomain': getSubdomain()});
2015-06-29 15:58:47 +02:00
}
};
export default WhitelabelFetcher;