Skip to content

Commit

Permalink
remove comments that are no longer relevant
Browse files Browse the repository at this point in the history
  • Loading branch information
zineanteoh committed Nov 12, 2023
1 parent 319d7ee commit db7de3b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pages/api/event/[id].ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@ export default async function handler(
// TODO: Speed this up!
event.volunteers.splice(userIndex, 1);
user.events.splice(eventIndex, 1);
// TODO: Remove the tag for user only if this tag has no relationship
// with other events this user did
// const programIndex = user.tags.indexOf(event.program);
// user.tags.splice(programIndex, 1);
}

// Resave both document
Expand Down

0 comments on commit db7de3b

Please sign in to comment.