mirror of
https://github.com/Unleash/unleash.git
synced 2025-09-05 17:53:12 +02:00
fix: add featureName and project id to import events
This commit is contained in:
parent
a9b6c3c53f
commit
576560f998
@ -397,6 +397,8 @@ export default class StateService {
|
||||
await this.eventStore.store({
|
||||
type: FEATURE_IMPORT,
|
||||
createdBy: userName,
|
||||
featureName: feature.name,
|
||||
project: feature.project,
|
||||
data: feature,
|
||||
});
|
||||
}),
|
||||
@ -607,6 +609,7 @@ export default class StateService {
|
||||
const importedFeatureTagEvents = importedFeatureTags.map((tag) => ({
|
||||
type: FEATURE_TAG_IMPORT,
|
||||
createdBy: userName,
|
||||
featureName: tag.featureName,
|
||||
data: tag,
|
||||
}));
|
||||
await this.eventStore.batchStore(importedFeatureTagEvents);
|
||||
|
Loading…
Reference in New Issue
Block a user