Skip to content

Commit 0847bee

Browse files
committed
Fix for stripping out TRIGGER_ env vars
1 parent 6152b2f commit 0847bee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/webapp/app/v3/environmentVariables/environmentVariablesRepository.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export class EnvironmentVariablesRepository implements Repository {
9797
);
9898

9999
//get rid of empty variables
100-
values = options.variables.filter((v) => v.key.trim() !== "" && v.value.trim() !== "");
100+
values = values.filter((v) => v.key.trim() !== "" && v.value.trim() !== "");
101101
if (values.length === 0) {
102102
return { success: false as const, error: `You must set at least one value` };
103103
}

0 commit comments

Comments
 (0)