Skip to content

Commit

Permalink
fix: change type of "eng_label" and "desc_label"
Browse files Browse the repository at this point in the history
In database these two fields are nullable then
change type to allow "None" value

Reviewed-by: andriacap
  • Loading branch information
andriacap committed Mar 6, 2024
1 parent fb74830 commit c0882c9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions backend/geonature/tests/imports/jsonschema_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,16 @@
"type": "string",
},
"eng_label": {
"type": "string",
"type": [
"string",
"null",
],
},
"desc_field": {
"type": "string",
"type": [
"string",
"null",
],
},
"type_field": {
"type": "string",
Expand Down

0 comments on commit c0882c9

Please sign in to comment.