{"size": 294, "ext": "js", "max_stars_repo_path": "src/services/user/info.js", "max_stars_repo_name": "sundaywill/taover-web", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/services/user/info.js", "max_issues_repo_name": "sundaywill/taover-web", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/services/user/info.js", "max_forks_repo_name": "sundaywill/taover-web", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 18.375, "max_line_length": 62, "alphanum_fraction": 0.5510204082}
/**
 * Created by sunday on 03/11/2016.
 */
import Vue from 'vue'
import { fetchInfo } from './../../store/modules/user/actions'

export default () => {
  Vue.http.get('user/index').then(
    ({ data }) => {
      fetchInfo(data)
    },
    (response) => {
      console.log(response)
    })
}
