Commit a47b2cf2 authored by Lee SeoYeon's avatar Lee SeoYeon
Browse files

설문조사 보는 페이지 api

parent 42052729
......@@ -11,6 +11,12 @@ export const getSurvey = async (surveyId: string) => {
const { data } = await axios.get(`${baseUrl}/surveys/edit/${surveyId}`);
return data;
};
export const ansSurvey = async (surveyId: string) => {
const { data} = await axios.get(`${baseUrl}/surveys/${surveyId}`);
return data;
}
//동혁
export const getSurveys = async () => {
const { data } = await axios.get(`${baseUrl}/surveys/`);
......
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