Skip to content

Commit 1363672

Browse files
authored
Merge pull request #2476 from RedisInsight/bugfix/RI-4856-fix-fiature-data-transformer
#RI-4856 - fix transformer
2 parents 82c7fe3 + 59505a1 commit 1363672

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redisinsight/api/src/modules/feature/repositories/local.feature.repository.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export class LocalFeatureRepository extends FeatureRepository {
3434
* @inheritDoc
3535
*/
3636
async upsert(feature: Feature): Promise<Feature> {
37-
await this.repository.upsert(feature, {
37+
await this.repository.upsert(classToClass(FeatureEntity, feature), {
3838
skipUpdateIfNoValuesChanged: true,
3939
conflictPaths: ['name'],
4040
});

0 commit comments

Comments
 (0)