Commit 1ea0c555 authored by Yoon, Daeki's avatar Yoon, Daeki 😅
Browse files

createSurvey api route 수정

parent f0864302
......@@ -3,7 +3,7 @@ import { SurveyType } from "../types";
import baseUrl from "./baseUrl";
export const createSurvey = async (survey: SurveyType) => {
const { data } = await axios.post(`${baseUrl}/surveys/create`, survey);
const { data } = await axios.post(`${baseUrl}/surveys`, survey);
return data;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment