Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
students
survey
Commits
1f7641e8
Commit
1f7641e8
authored
Jul 20, 2022
by
jang dong hyeok
Browse files
.
parent
6b3fc650
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend/src/apis/survey.api.ts
View file @
1f7641e8
...
@@ -11,14 +11,9 @@ export const getSurvey = async (surveyId: string) => {
...
@@ -11,14 +11,9 @@ export const getSurvey = async (surveyId: string) => {
const
{
data
}
=
await
axios
.
get
(
`
${
baseUrl
}
/surveys/
${
surveyId
}
/edit`
);
const
{
data
}
=
await
axios
.
get
(
`
${
baseUrl
}
/surveys/
${
surveyId
}
/edit`
);
return
data
;
return
data
;
};
};
<<<<<<<
HEAD
export
const
getASurvey
=
async
(
surveyId
:
string
)
=>
{
const
{
data
}
=
await
axios
.
get
(
`
${
baseUrl
}
/surveys/
${
surveyId
}
/edit`
);
=======
export
const
ansSurvey
=
async
(
surveyId
:
string
)
=>
{
export
const
ansSurvey
=
async
(
surveyId
:
string
)
=>
{
const
{
data
}
=
await
axios
.
get
(
`
${
baseUrl
}
/surveys/
${
surveyId
}
`
);
const
{
data
}
=
await
axios
.
get
(
`
${
baseUrl
}
/surveys/
${
surveyId
}
`
);
>>>>>>>
develop0718
return
data
;
return
data
;
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment