Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sjaanus committed Dec 13, 2024
1 parent fba22c3 commit 4b7cd16
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,12 @@ export class ClientFeatureToggleCache {
];

const removed = changeEvents
.filter((event) => event.featureName && event.project)
.filter((event) => event.type === 'feature-deleted')
.map((event) => event.featureName!);
.map((event) => ({
name: event.featureName!,
project: event.project!,
}));

// TODO: we might want to only update the environments that had events changed for performance
for (const environment of keys) {
Expand Down

0 comments on commit 4b7cd16

Please sign in to comment.