import {httpReq} from "@/utils/axiosReq";
import {AddDiary, ListDiary} from "@/components/type/Diary";
import {ResponseVO} from "@/lib/definitions";
import {AxiosResponse} from "axios";

export const addTaskLogAPI= (data:AddDiary):Promise<AxiosResponse<ResponseVO<ListDiary>>> =>{
    return httpReq.post(process.env.NEXT_PUBLIC_TODO_REQUEST_URL + "/task/message/diary",
        data)
}
