Skip to content

Commit

Permalink
update agendabasel url (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
koilebeit authored Sep 5, 2024
1 parent 36350a2 commit 3a8c798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/agenda.json/+server.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function getUniqueOwners(activities) {
* @returns {Promise<{ events: Array<Event>, exhibitions: Array<Exhibition> }>} A promise that resolves to an object containing the future dates and exhibitions.
*/
async function getActivities() {
const response = await fetch('https://www.kulturzueri.ch/xmlexport/kzexport-basel.xml');
const response = await fetch('https://agendabasel.ch/xmlexport/kzexport-basel.xml');
const xml = await response.text();
const data = await parseStringPromise(xml);
const activities = data['kdz:exportActivities']['Activities'][0]['Activity'];
Expand Down

0 comments on commit 3a8c798

Please sign in to comment.