diff --git a/backend/src/main/java/com/nestapp/project/ProjectMaker.kt b/backend/src/main/java/com/nestapp/project/ProjectMaker.kt index 38e9130..4a8f530 100644 --- a/backend/src/main/java/com/nestapp/project/ProjectMaker.kt +++ b/backend/src/main/java/com/nestapp/project/ProjectMaker.kt @@ -60,7 +60,7 @@ class ProjectMaker( name = projectName, projectSlug = slug, preview = previewFile?.let { "files/projects/$slug/media/preview.png" }, - files = dxfFileBytes.map { (fileName, _) -> fileName }, + files = dxfFileBytes.map { (fileName, _) -> fileName.substringBeforeLast(".") }, ) )