mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-11 00:08:30 +01:00
fix: reduce data in FEATURE_ENVIRONMENT events
This commit is contained in:
parent
0a83abe101
commit
efdbda68e4
@ -4,14 +4,14 @@ import Addon from './addon';
|
||||
import slackDefinition from './slack-definition';
|
||||
import { IAddonConfig, IEvent } from '../types/model';
|
||||
|
||||
const {
|
||||
import {
|
||||
FEATURE_CREATED,
|
||||
FEATURE_UPDATED,
|
||||
FEATURE_ARCHIVED,
|
||||
FEATURE_REVIVED,
|
||||
FEATURE_STALE_ON,
|
||||
FEATURE_STALE_OFF,
|
||||
} = require('../types/events');
|
||||
} from '../types/events';
|
||||
|
||||
export default class SlackAddon extends Addon {
|
||||
unleashUrl: string;
|
||||
|
@ -576,7 +576,7 @@ class FeatureToggleServiceV2 {
|
||||
? FEATURE_ENVIRONMENT_ENABLED
|
||||
: FEATURE_ENVIRONMENT_DISABLED,
|
||||
createdBy: userName,
|
||||
data,
|
||||
data: { name: featureName },
|
||||
tags,
|
||||
project: projectId,
|
||||
environment,
|
||||
|
Loading…
Reference in New Issue
Block a user