diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c62a27660c78d580e938c9c407ae4f10b6ff9431..4b72c94b7a8d7626e322091a77ed07c25e29e1b8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,14 +21,14 @@ test-job: build-client: stage: build - image: public.ecr.aws/docker/library/node:lts + image: node:lts-alpine script: - npm install - npm run build test-client-job: stage: test - image: public.ecr.aws/docker/library/node:lts + image: node:lts-alpine script: - npm install - npm run test diff --git a/src/api/eventsAPI.ts b/src/api/eventsAPI.ts index 1fb9bcbe8af889dffc52a236699be512213ea09d..b9fb82326ad1a4e202b3f31f810604b19c5cf563 100644 --- a/src/api/eventsAPI.ts +++ b/src/api/eventsAPI.ts @@ -29,21 +29,21 @@ export const getEventById = async (eventId: string) => { } export const getThemes = async () => { - const result = await API.get<string[]>('/get_theme'); + const result = await API.get<string[]>('/get_theme/'); return result.data; } export const getCities = async () => { - const result = await API.get<string[]>('/get_city'); + const result = await API.get<string[]>('/get_city/'); return result.data; } export const getOrganizers = async () => { - const result = await API.get<string[]>('/get_organizer'); + const result = await API.get<string[]>('/get_organizer/'); return result.data; } export const getHoods = async () => { - const result = await API.get<string[]>('/get_hood'); + const result = await API.get<string[]>('/get_hood/'); return result.data; } \ No newline at end of file diff --git a/src/pages/EventsPage.tsx b/src/pages/EventsPage.tsx index db855a894c64186ceafa0236e04ce4cc4f3714a7..044da5d97e5de73446416b9b1164c5f7dbcc77ac 100644 --- a/src/pages/EventsPage.tsx +++ b/src/pages/EventsPage.tsx @@ -30,8 +30,6 @@ export default function EventsPage() { return { label: filter.label, options: [] }; }); - console.log(initialFilters); - const [selectedFilters, setSelectedFilters] = useState<Filter[]>(initialFilters);