{"size": 220, "ext": "js", "max_stars_repo_path": "src/client/admin/productcategories/productCategoryService.js", "max_stars_repo_name": "r3dDoX/geekplanet", "max_stars_repo_stars_event_min_datetime": "2017-05-01T09:34:39.000Z", "max_stars_repo_stars_event_max_datetime": "2020-07-31T15:46:02.000Z", "max_issues_repo_path": "src/client/admin/productcategories/productCategoryService.js", "max_issues_repo_name": "r3dDoX/geekplanet", "max_issues_repo_issues_event_min_datetime": "2016-12-05T11:58:27.000Z", "max_issues_repo_issues_event_max_datetime": "2019-04-19T11:16:26.000Z", "max_forks_repo_path": "src/client/admin/productcategories/productCategoryService.js", "max_forks_repo_name": "r3dDoX/geekplanet", "max_forks_repo_forks_event_min_datetime": "2019-03-28T03:54:10.000Z", "max_forks_repo_forks_event_max_datetime": "2019-05-19T11:01:46.000Z"}
{"max_stars_count": 7, "max_issues_count": 211, "max_forks_count": 4, "avg_line_length": 20.0, "max_line_length": 53, "alphanum_fraction": 0.65}
import Xhr from '../../xhr';

export default {
  loadProductCategories() {
    return Xhr.get('/api/products/categories');
  },
  saveProductCategory(data) {
    return Xhr.put('/api/products/categories', data);
  },
};
