information banner from api with date range
This commit is contained in:
@@ -1298,3 +1298,15 @@ export const sendEmail = async (
|
||||
console.log("this serror", error);
|
||||
});
|
||||
};
|
||||
|
||||
export const getNotice = () => {
|
||||
return axios
|
||||
.get(BASE_URL + "/api/notices")
|
||||
.then((res) => {
|
||||
//console.log("//////////----", res.data);
|
||||
return res.data;
|
||||
})
|
||||
.catch((error) => {
|
||||
console.log("this serror", error);
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user