9 lines
365 B
TypeScript
9 lines
365 B
TypeScript
|
import {AxiosResponse} from "axios";
|
||
|
import {ResponseVO} from "@/lib/definitions";
|
||
|
import {httpReq} from "@/utils/axiosReq";
|
||
|
import {ShareVO} from "@/components/type/Share.d";
|
||
|
|
||
|
export const addTaskPassAPI= (data:ShareVO):Promise<AxiosResponse<ResponseVO<ShareVO>>> =>{
|
||
|
return httpReq.post(process.env.NEXT_PUBLIC_TODO_REQUEST_URL + "/task/pass",
|
||
|
data)
|
||
|
}
|