We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3eb2f97 commit 0839824Copy full SHA for 0839824
apps/webapp/app/v3/environmentVariables/environmentVariablesRepository.server.ts
@@ -135,8 +135,8 @@ export class EnvironmentVariablesRepository implements Repository {
135
}
136
137
try {
138
+ for (const variable of values) {
139
const result = await $transaction(this.prismaClient, async (tx) => {
- for (const variable of values) {
140
const environmentVariable = await tx.environmentVariable.upsert({
141
where: {
142
projectId_key: {
@@ -195,8 +195,8 @@ export class EnvironmentVariablesRepository implements Repository {
195
secret: variable.value,
196
});
197
198
- }
199
- });
+ });
+ }
200
201
return {
202
success: true as const,
0 commit comments