chore: add logs

pull/1/head
Nicolas Doby 2022-10-10 15:43:16 +02:00
parent 2e0b7440ce
commit b61fb37e7e
1 changed files with 1 additions and 0 deletions

View File

@ -12,6 +12,7 @@ export default {
}) })
.then((response) => { .then((response) => {
response.data._embedded.questions.forEach(question => { response.data._embedded.questions.forEach(question => {
console.info(question._links.self.href, question, $axios.defaults.baseURL + "/questions/");
question.id = Number(question._links.self.href.replace($axios.defaults.baseURL + "/questions/", "")); question.id = Number(question._links.self.href.replace($axios.defaults.baseURL + "/questions/", ""));
return question; return question;
}); });