0
0
Fork 0

Merge branch 'master' into 245362-hotFixItemTags

This commit is contained in:
Robert Ferrús 2024-11-29 07:39:40 +00:00
commit bedf7d8a3a
1 changed files with 6 additions and 2 deletions

View File

@ -41,8 +41,12 @@ const fetchAccountExistence = async () => {
};
const fetchMailForwards = async () => {
const response = await axios.get(`MailForwards/${route.params.id}`);
return response.data;
try {
const response = await axios.get(`MailForwards/${route.params.id}`);
return response.data;
} catch {
return null;
}
};
const deleteMailForward = async () => {