Skip to content

Instantly share code, notes, and snippets.

@anoobbava
Last active December 16, 2019 13:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anoobbava/d392bb11d9a0182fb90a1dd68670ece2 to your computer and use it in GitHub Desktop.
Save anoobbava/d392bb11d9a0182fb90a1dd68670ece2 to your computer and use it in GitHub Desktop.
updateTodo(todo) {
this.updateTodoAction(todo)
.then(() => SweetAlert.successfulLogin())
.catch(() => SweetAlert.failureLogin())
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment