From b61fb37e7ea27f534641dda90ba3717d9b96b5f8 Mon Sep 17 00:00:00 2001 From: Nicolas Doby Date: Mon, 10 Oct 2022 15:43:16 +0200 Subject: [PATCH] chore: add logs --- frontend/repositories/questionRepository.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/repositories/questionRepository.ts b/frontend/repositories/questionRepository.ts index d0b11c6..9b4e0c2 100644 --- a/frontend/repositories/questionRepository.ts +++ b/frontend/repositories/questionRepository.ts @@ -12,6 +12,7 @@ export default { }) .then((response) => { 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/", "")); return question; });