From ab3e964b646b3a62b5c0652b5ba4d809a4197e59 Mon Sep 17 00:00:00 2001 From: DavidLazarescu <prtnprvtmail@protonmail.com> Date: Tue, 6 Feb 2024 17:29:20 +0100 Subject: [PATCH] Fixed missing mapping --- src/Application/Services/FolderService.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Application/Services/FolderService.cs b/src/Application/Services/FolderService.cs index 73357cb..eca6d62 100644 --- a/src/Application/Services/FolderService.cs +++ b/src/Application/Services/FolderService.cs @@ -50,6 +50,7 @@ private Folder FolderInDtoToFolder(FolderInDto folderInDto) Icon = folderInDto.Icon, Description = folderInDto.Description, LastModified = folderInDto.LastModified, + IndexInParent = folderInDto.IndexInParent, Children = new List<Folder>() }; @@ -88,6 +89,7 @@ private async Task<FolderOutDto> FolderToFolderOutDto(Folder folder) Color = folder.Color, Icon = folder.Icon, LastModified = folder.LastModified, + IndexInParent = folder.IndexInParent, Description = folder.Description };