From 4aa1a9cb56af80072f1bd96b749e6c0fee9d42e8 Mon Sep 17 00:00:00 2001 From: Mahdiyar Ghannad Date: Tue, 21 Nov 2023 16:35:26 +0330 Subject: [PATCH] Fix missing UID on content add in AddContentWithKey --- .../Controllers/ContentController.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/CSharp/EasyMicroservices.ContentsMicroservice.WebApi/Controllers/ContentController.cs b/src/CSharp/EasyMicroservices.ContentsMicroservice.WebApi/Controllers/ContentController.cs index 7ca34a7..c6cb91c 100644 --- a/src/CSharp/EasyMicroservices.ContentsMicroservice.WebApi/Controllers/ContentController.cs +++ b/src/CSharp/EasyMicroservices.ContentsMicroservice.WebApi/Controllers/ContentController.cs @@ -117,7 +117,8 @@ public async Task> AddContentWithKey(AddConten { CategoryId = addCategoryResult.Result, LanguageId = languageId.Value, - Data = item.Data + Data = item.Data, + UniqueIdentity = request.UniqueIdentity }); }