Skip to content

Commit

Permalink
fixed upload
Browse files Browse the repository at this point in the history
  • Loading branch information
VovaStelmashchuk committed Aug 8, 2024
1 parent 69e998d commit 9eef345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/main/java/com/nestapp/project/ProjectMaker.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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(".") },
)
)

Expand Down

0 comments on commit 9eef345

Please sign in to comment.