{"size": 176, "ext": "js", "max_stars_repo_path": "client/modules/app/actions/markTodoFailed.js", "max_stars_repo_name": "henri-hulski/morepath_cerebral_todomvc", "max_stars_repo_stars_event_min_datetime": "2016-08-20T06:02:01.000Z", "max_stars_repo_stars_event_max_datetime": "2019-06-23T09:17:42.000Z", "max_issues_repo_path": "client/modules/app/actions/markTodoFailed.js", "max_issues_repo_name": "henri-hulski/morepath_cerebral_todomvc", "max_issues_repo_issues_event_min_datetime": "2016-07-30T12:42:29.000Z", "max_issues_repo_issues_event_max_datetime": "2021-04-18T14:33:40.000Z", "max_forks_repo_path": "client/modules/app/actions/markTodoFailed.js", "max_forks_repo_name": "henri-hulski/morepath_cerebral_todomvc", "max_forks_repo_forks_event_min_datetime": "2020-09-10T08:07:13.000Z", "max_forks_repo_forks_event_max_datetime": "2020-09-30T21:15:49.000Z"}
{"max_stars_count": 3, "max_issues_count": 6, "max_forks_count": 2, "avg_line_length": 19.5555555556, "max_line_length": 42, "alphanum_fraction": 0.6761363636}
function markTodoFailed ({input, state}) {
  state.merge(`app.todos.${input.ref}`, {
    $isSaving: false,
    $error: input.result.error
  })
}

export default markTodoFailed
