You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Only a question I do a service that post to server. I go respnde for exemple 404 or another than 200 and in sucribe it not pass in err ! always to success ?
sendMessage(code: any, mail: any) {
this.loadingVisible = true;
console.log('J\'ai cliqué sur => ' + code);
this.actionsService.sendMailRappel(code, mail).subscribe(
res => {
this.loadingVisible = false;
notify({
position: 'center',
message: 'Envoi du MAIL et du SMS effectué',
maxWidth: '250'
}, 'success', 600);
},
**err => {
this.loadingVisible = false;
notify({
position: 'center',
message: 'Erreur lors du changement du status',
maxWidth: '300'
}, 'error', 600);
}**
);
}
an idee ?
The text was updated successfully, but these errors were encountered:
Paul75
changed the title
hep to request response erro and in pass in success always
help to request response error and in pass in success always
Mar 14, 2018
Hello,
Only a question I do a service that post to server. I go respnde for exemple 404 or another than 200 and in sucribe it not pass in err ! always to success ?
an idee ?
The text was updated successfully, but these errors were encountered: