Skip to content

Commit

Permalink
organisations: fix editor ValidationError
Browse files Browse the repository at this point in the history
* Fixes the `serverName` field not accepted by the server in the
dedicated organisation editor, preventing to save.

Co-Authored-by: Pascal Repond <pascal.repond@rero.ch>
  • Loading branch information
PascalRepond committed Aug 25, 2022
1 parent dae2214 commit 6f3b327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sonar/modules/organisations/marshmallow/json.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class OrganisationMetadataSchemaV1(StrictKeysMixin):
footer = fields.List(fields.Dict())
isShared = fields.Boolean()
isDedicated = fields.Boolean()
serverName = fields.Str(dump_only=True)
serverName = fields.Str()
allowedIps = SanitizedUnicode()
platformName = SanitizedUnicode()
documentsCustomField1 = fields.Dict()
Expand Down

0 comments on commit 6f3b327

Please sign in to comment.