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:
parent
9eb872de82
commit
b8521121a1
@ -22,7 +22,7 @@ export class FeatureLinkStore
|
|||||||
async insert(item: Omit<IFeatureLink, 'id'>): Promise<IFeatureLink> {
|
async insert(item: Omit<IFeatureLink, 'id'>): Promise<IFeatureLink> {
|
||||||
const id = ulid();
|
const id = ulid();
|
||||||
const featureLink = {
|
const featureLink = {
|
||||||
id: ulid(),
|
id: id,
|
||||||
feature_name: item.featureName,
|
feature_name: item.featureName,
|
||||||
url: item.url,
|
url: item.url,
|
||||||
title: item.title,
|
title: item.title,
|
||||||
|
Loading…
Reference in New Issue
Block a user