spee.ch/react/api/channelApi.js
2018-02-07 22:22:17 -08:00

14 lines
373 B
JavaScript

import Request from 'utils/request';
import request from '../utils/request';
export function getChannelData (name, id) {
console.log('getting and storing channel data for channel:', name, id);
if (!id) id = 'none';
const url = `/api/channel/data/${name}/${id}`;
return request(url)
};
export function getChannelClaims (name, claimId) {
return Request(url);
};