Skip to content

Commit

Permalink
20195 remove details from admin freeze
Browse files Browse the repository at this point in the history
  • Loading branch information
vysakh-menon-aot committed Mar 27, 2024
1 parent 9ec7dc1 commit d358d13
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
1 change: 0 additions & 1 deletion src/registry_schemas/example_data/schema_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -2845,7 +2845,6 @@
}

ADMIN_FREEZE = {
'details': 'Some details',
'freeze': True
}

Expand Down
11 changes: 2 additions & 9 deletions src/registry_schemas/schemas/admin_freeze.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,10 @@
"properties": {
"adminFreeze": {
"type": "object",
"required": [
"details",
"freeze"
"required": [
"freeze"
],
"properties": {
"details": {
"type": "string",
"minLength": 0,
"maxLength": 2000,
"description": "Details which will appear in the ledger entry"
},
"freeze": {
"type": "boolean",
"title": "Flag specifying true for freeze and false for unfreeze"
Expand Down
2 changes: 1 addition & 1 deletion src/registry_schemas/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@
"""


__version__ = '2.18.21' # pylint: disable=invalid-name
__version__ = '2.18.22' # pylint: disable=invalid-name

0 comments on commit d358d13

Please sign in to comment.