{"size": 368, "ext": "js", "max_stars_repo_path": "public/js/service/cargarMaletinServicio.js", "max_stars_repo_name": "LuisHoyos7/optiglass", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "public/js/service/cargarMaletinServicio.js", "max_issues_repo_name": "LuisHoyos7/optiglass", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "public/js/service/cargarMaletinServicio.js", "max_forks_repo_name": "LuisHoyos7/optiglass", "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": 20.4444444444, "max_line_length": 43, "alphanum_fraction": 0.4673913043}
const create = (data) => {
  return new Promise((resolve, reject) => {
      $.ajax({
        data: data,
        url: 'cargarmaletines',
        type: 'post',
        dataType: 'JSON',
        success: function (data) {
          resolve(data)
        },
        error: function (error) {
          reject(error)
        },
      })
  })
}

export default { create };