Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: duplicate global environment under team workspaces #4334

Merged
merged 7 commits into from
Sep 25, 2024
Prev Previous commit
Next Next commit
chore: add - Duplicate suffix for duplicated environment entries
  • Loading branch information
jamesgeorge007 committed Sep 24, 2024
commit b93899b50cf0bcb16cf4e6c7b50ef22d5e75d5c6
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export class TeamEnvironmentsService {

const result = await this.prisma.teamEnvironment.create({
data: {
name: environment.name,
name: `${environment.name} - Duplicate`,
teamID: environment.teamID,
variables: environment.variables as Prisma.JsonArray,
},
Expand Down