Added create poll in frontend ✔️

This commit is contained in:
Manik Maity
2024-11-08 22:12:16 +05:30
parent af25c4b5fc
commit b84a031770
6 changed files with 255 additions and 54 deletions

View File

@@ -0,0 +1,8 @@
import axiosInstance from "../helper/axiosInstance";
async function createPollService(data) {
const response = await axiosInstance.post("/poll/create", data);
return response.data;
}
export default createPollService