- Parse consent data from request body (workshopConsent, socialMediaConsents) - Validate workshop consent is required (400 error if missing) - Use createGroupWithConsent() instead of createGroup() - Pass consent data to repository for database storage - Maintains backward compatibility with existing upload flow - GDPR-compliant: no upload without explicit workshop consent |
||
|---|---|---|
| .. | ||
| database | ||
| middlewares | ||
| models | ||
| repositories | ||
| routes | ||
| scripts | ||
| services | ||
| utils | ||
| constants.js | ||
| index.js | ||
| server.js | ||