Skip to content

Commit

Permalink
server_environment: fix default method not passed
Browse files Browse the repository at this point in the history
before this commit, default values were not populated
in other environments. The problem was only seen with
data_encryption which save all the values for all the environments.
  • Loading branch information
hparfr committed Feb 19, 2025
1 parent b1f3ae3 commit 836c1c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server_environment/models/server_env_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ def _server_env_add_default_field(self, base_field):
"sparse": "server_env_defaults",
"automatic": True,
"string": fieldlabel,
"default": base_field.default,
}
)

Expand Down

0 comments on commit 836c1c3

Please sign in to comment.