Skip to content

Commit ec40cd1

Browse files
committed
Fix
1 parent cd19ba3 commit ec40cd1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

components/dashboard/src/service/json-rpc-envvar-client.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export class JsonRpcEnvvarClient implements PromiseClient<typeof EnvironmentVari
5656
const userEnvVarfound = userEnvVars.find((i) => i.id === req.envVarId);
5757
if (userEnvVarfound) {
5858
const variable: UserEnvVarValue = {
59+
id: req.envVarId,
5960
name: req.name ?? userEnvVarfound.name,
6061
value: req.value ?? userEnvVarfound.value,
6162
repositoryPattern: req.repositoryPattern ?? userEnvVarfound.repositoryPattern,

components/server/src/api/envvar-service-api.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ export class EnvironmentVariableServiceAPI implements ServiceImpl<typeof Environ
7272
const userEnvVarfound = userEnvVars.find((i) => i.id === req.envVarId);
7373
if (userEnvVarfound) {
7474
const variable: UserEnvVarValue = {
75+
id: req.envVarId,
7576
name: req.name ?? userEnvVarfound.name,
7677
value: req.value ?? userEnvVarfound.value,
7778
repositoryPattern: req.repositoryPattern ?? userEnvVarfound.repositoryPattern,

0 commit comments

Comments
 (0)