Skip to content

Commit

Permalink
Fix new project problem
Browse files Browse the repository at this point in the history
  • Loading branch information
C4tWithShell committed Nov 11, 2023
1 parent eef162d commit 613d671
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ public ComponentDto createBranchComponent(DbSession dbSession, BranchSupport.Com
.setExcludeFromPurge(isBranchExcludedFromPurge(projectConfigurationLoader.loadProjectConfiguration(dbSession, branchDto.getProjectUuid()), branchName))
.setKey(branchName)
.setIsMain(false));
branchDto.setProjectUuid(mainComponentBranchDto.getProjectUuid());
dbClient.branchDao().insert(dbSession, branchDto);

return componentDto;
Expand Down

0 comments on commit 613d671

Please sign in to comment.