Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ export class EnvironmentVariablesRepository implements Repository {
}

try {
for (const variable of values) {
const result = await $transaction(this.prismaClient, async (tx) => {
for (const variable of values) {
const environmentVariable = await tx.environmentVariable.upsert({
where: {
projectId_key: {
Expand Down Expand Up @@ -195,8 +195,8 @@ export class EnvironmentVariablesRepository implements Repository {
secret: variable.value,
});
}
}
});
});
}

return {
success: true as const,
Expand Down