Skip to content

Commit

Permalink
fixed getting env vars in branch
Browse files Browse the repository at this point in the history
  • Loading branch information
godfryd committed Nov 19, 2023
1 parent cbcd994 commit b5ab81b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/kraken/server/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def get_json(self, with_results=False, with_cfg=False, with_last_results=False,
project_name=self.project.name,
branch_name=self.branch_name,
retention_policy=retention_policy,
env_vars=self.env_vars)
env_vars=self.env_vars or {})

if with_results:
data['ci_flows'] = [f.get_json() for f in self.ci_flows[:10]]
Expand Down

0 comments on commit b5ab81b

Please sign in to comment.