13 lines
328 B
JavaScript
13 lines
328 B
JavaScript
import Request from '../utils/request';
|
|
|
|
export function checkForLoggedInChannelApi () {
|
|
const url = `/user`;
|
|
const params = {credentials: 'include'};
|
|
return Request(url, params);
|
|
}
|
|
|
|
export function channelLogoutApi () {
|
|
const url = `/logout`;
|
|
const params = {credentials: 'include'};
|
|
return Request(url, params);
|
|
}
|