1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-01 13:47:27 +02:00

fix: feature link should return same id as it sends to db (#10553)

During feature link creation, we should return same id as it sends to
db.
This commit is contained in:
Jaanus Sellin 2025-08-28 11:43:46 +03:00 committed by GitHub
parent 9eb872de82
commit b8521121a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,7 +22,7 @@ export class FeatureLinkStore
async insert(item: Omit<IFeatureLink, 'id'>): Promise<IFeatureLink> {
const id = ulid();
const featureLink = {
id: ulid(),
id: id,
feature_name: item.featureName,
url: item.url,
title: item.title,