Added rendering of Event Images

This commit is contained in:
Torsten Schulz
2025-05-07 11:55:27 +02:00
parent b9ba08f91f
commit bb4f490bb1
6 changed files with 67 additions and 11 deletions

View File

@@ -61,7 +61,7 @@ const filterEvents = async (req, res) => {
{ model: Institution, as: 'institution' },
{ model: EventPlace, as: 'eventPlace' },
{ model: EventType, as: 'eventType' },
{ model: ContactPerson, as: 'contactPersons', through: { attributes: [] } }
{ model: ContactPerson, as: 'contactPersons', through: { attributes: [] } },
],
order: ['name', 'date', 'time']
});