import { FeedbackFormValues } from "../schemas/feedback";
import { Feedback } from "../types/feedback";
import { apiHelpers } from "./api";

const feedbackService = {
  sendFeedback: async (
    data: Partial<FeedbackFormValues>
  ): Promise<Feedback> => {
    return apiHelpers.post("/feedback", data);
  },
};

export default feedbackService;
