Skip to content

Commit

Permalink
refactor: melhoria no handler de erro de requisição
Browse files Browse the repository at this point in the history
  • Loading branch information
WellingtonNico committed Oct 20, 2023
1 parent 3f1e625 commit 4a5d67d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wellnotify.htmx.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ class WellNotifyHTMX {
});
} else if (
!event.detail.successful &&
event.detail.isError &&
(event.detail.isError || event.detail.failed) &&
msgAfterRequestFail
) {
wellNotifyInstance.error(msgAfterRequestFail, {
Expand Down

0 comments on commit 4a5d67d

Please sign in to comment.