mirror of
https://github.com/Ravinou/borgwarehouse
synced 2024-06-03 14:32:38 +02:00
rename API
This commit is contained in:
parent
48b4844726
commit
c56ecf1d49
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue