Yegoroot
1/10/2019 - 10:02 AM

AXIOS ASYNC

import axios from 'axios';

export async function getRoleList() {
  return axios.get(`${url`).then(response => response.data);
}