Enviroment variable patch

This commit is contained in:
2026-01-02 19:40:00 +01:00
parent f83e735807
commit fd3b8bda02
4 changed files with 70 additions and 46 deletions
+4 -1
View File
@@ -59,7 +59,10 @@ export async function getEnv(): Promise<Record<string, Env>> {
return merged;
}
export async function setEnv(appId: string, variables: EnvVariable[]) {
export async function setEnv(
appId: string,
variables: Record<string, EnvVariable>
) {
const nodes = await getNodes();
nodes.forEach(async (n) => {