mirror of
https://github.com/Unleash/unleash.git
synced 2025-04-24 01:18:01 +02:00
fix: Remove lastSeenAt when exporting FeatureEnvironment (#4416)
Signed-off-by: andreas-unleash <andreas@getunleash.ai>
This commit is contained in:
parent
d001b864f2
commit
d1daf0b98c
@ -640,11 +640,13 @@ export default class ExportImportService {
|
|||||||
...rest,
|
...rest,
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
featureEnvironments: featureEnvironments.map((item) => ({
|
featureEnvironments: featureEnvironments.map((item) => {
|
||||||
...item,
|
const { lastSeenAt, ...rest } = item;
|
||||||
name: item.featureName,
|
return {
|
||||||
lastSeenAt: item.lastSeenAt?.toISOString(),
|
...rest,
|
||||||
})),
|
name: item.featureName,
|
||||||
|
};
|
||||||
|
}),
|
||||||
contextFields: filteredContextFields.map((item) => {
|
contextFields: filteredContextFields.map((item) => {
|
||||||
const { createdAt, ...rest } = item;
|
const { createdAt, ...rest } = item;
|
||||||
return rest;
|
return rest;
|
||||||
|
Loading…
Reference in New Issue
Block a user