mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
fix(store): DB should not override createdAt if set.
This commit is contained in:
parent
ebef071ab5
commit
4ed3abea22
@ -96,6 +96,7 @@ class FeatureToggleStore {
|
|||||||
enabled: data.enabled ? 1 : 0,
|
enabled: data.enabled ? 1 : 0,
|
||||||
archived: data.archived ? 1 : 0,
|
archived: data.archived ? 1 : 0,
|
||||||
strategies: JSON.stringify(data.strategies),
|
strategies: JSON.stringify(data.strategies),
|
||||||
|
created_at: data.createdAt, // eslint-disable-line
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user