{"size": 268, "ext": "js", "max_stars_repo_path": "src/forms/Security/LoginFormHandler.js", "max_stars_repo_name": "chetinchog/GestionForenseFront", "max_stars_repo_stars_event_min_datetime": "2020-03-05T02:34:15.000Z", "max_stars_repo_stars_event_max_datetime": "2020-03-05T02:34:15.000Z", "max_issues_repo_path": "src/forms/Security/LoginFormHandler.js", "max_issues_repo_name": "chetinchog/GestionForenseFront", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/forms/Security/LoginFormHandler.js", "max_forks_repo_name": "chetinchog/GestionForenseFront", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 20.6153846154, "max_line_length": 61, "alphanum_fraction": 0.6156716418}
import SecurityManager from "../../managers/SecurityManager";

const login = async user =>
  new Promise(async (resolve, reject) => {
    try {
      resolve(await SecurityManager.login(user));
    } catch (e) {
      reject(e);
    }
  });

export default { login };
