diff --git a/public/src/modules/handleEventsActions.js b/public/src/modules/handleEventsActions.js index 4870cf3..be3e32d 100644 --- a/public/src/modules/handleEventsActions.js +++ b/public/src/modules/handleEventsActions.js @@ -156,7 +156,7 @@ export async function handleCreateEventSubmit(event, pageToCome, navigate) { const tag = Array.from(document.getElementById('eventTagEntry').value.split(' '), (tag) => removeDangerous(tag)); const dateStart = removeDangerous(document.getElementById('eventBeginEntry').value) + ':00Z'; const dateEnd = removeDangerous(document.getElementById('eventEndEntry').value) + ':00Z'; - console.log(document.getElementById('categoriesInput').categories.value); + console.log(document.getElementById('categoriesInput').value); const categoryId = Number(removeDangerous(document.getElementById('categoriesInput').value)); const image = document.getElementById('imageInput').files[0];