Skip to content

Commit

Permalink
eventsactions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ko71k committed Dec 16, 2024
1 parent 17d36d4 commit 3968694
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/src/modules/handleEventsActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export async function handleCreateEventEdit(event, id, 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';
const categoryId = Number(removeDangerous(document.getElementById('categoriesInput').value));
const categoryId = Number(removeDangerous(document.getElementById('categoriesInput').id));

const latitude = removeDangerous(document.getElementById('latitude').value);
const longitude = removeDangerous(document.getElementById('longitude').value);
Expand Down Expand Up @@ -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';
const categoryId = Number(removeDangerous(document.getElementById('categoriesInput').value));
const categoryId = Number(removeDangerous(document.getElementById('categoriesInput').id));
const image = document.getElementById('imageInput').files[0];

const latitude = removeDangerous(document.getElementById('latitude').value);
Expand Down

0 comments on commit 3968694

Please sign in to comment.