Skip to content

Commit f660b1f

Browse files
authored
Fix/duplicate project name (#371)
* fix fast api url * fix project name in duplication
1 parent 93464e6 commit f660b1f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PrismaDotnetApi/PrismaApi.Application/Services/ProjectduplicationService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,9 @@ private static ProjectCreateDto CreateProjectDto(FullProjectForDuplicationDto fu
246246
return new ProjectCreateDto
247247
{
248248
Id = newProjectId,
249-
Name = fullProject.Name,
249+
Name = $"copy of {fullProject.Name}",
250250
ParentProjectId = fullProject.Id,
251-
ParentProjectName = fullProject.Id.ToString(),
251+
ParentProjectName = fullProject.Name,
252252
OpportunityStatement = fullProject.OpportunityStatement,
253253
Public = fullProject.Public,
254254
EndDate = fullProject.EndDate,

0 commit comments

Comments
 (0)