mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01: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> {
 | 
			
		||||
        const id = ulid();
 | 
			
		||||
        const featureLink = {
 | 
			
		||||
            id: ulid(),
 | 
			
		||||
            id: id,
 | 
			
		||||
            feature_name: item.featureName,
 | 
			
		||||
            url: item.url,
 | 
			
		||||
            title: item.title,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user