diff --git a/pages/api/event/[id].ts b/pages/api/event/[id].ts index cd083b2..c9896d9 100644 --- a/pages/api/event/[id].ts +++ b/pages/api/event/[id].ts @@ -90,11 +90,6 @@ export default async function handler( // TODO: Speed this up! event.volunteers.unshift(user._id); user.events.unshift(event._id); - if (event.program != null) { - if (!user.tags.includes(event.program.tagName)) { - user.tags.unshift(event.program.tagName); - } - } } else if (userIndex === -1 || eventIndex === -1) { throw new Error('Inconsistency between collections!'); } else {