1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-10 17:53:36 +02:00

fix: bug with feature type matching

Signed-off-by: andreas-unleash <andreas@getunleash.ai>
This commit is contained in:
andreas-unleash 2023-10-04 14:52:24 +03:00
parent da0956b4d0
commit e3ffbd8b04
No known key found for this signature in database
GPG Key ID: DB82A1577B38F66B

View File

@ -11,7 +11,7 @@ export const formatExpiredAt = (
const { type, createdAt } = feature; const { type, createdAt } = feature;
const featureType = featureTypes.find( const featureType = featureTypes.find(
featureType => featureType.name === type featureType => featureType.id === type
); );
if ( if (