rename API

This commit is contained in:
bsourisse 2023-01-19 18:01:58 +01:00
parent 48b4844726
commit c56ecf1d49
2 changed files with 1 additions and 1 deletions

View file

@ -89,7 +89,7 @@ export default function EmailAlertSettings(props) {
setTestIsLoading(true); setTestIsLoading(true);
//Remove old error //Remove old error
setError(); setError();
const response = await fetch('/api/account/sendEmail', { const response = await fetch('/api/account/sendTestEmail', {
method: 'POST', method: 'POST',
}); });
const result = await response.json(); const result = await response.json();