diff --git a/src/senaite/jsonapi/datamanagers.py b/src/senaite/jsonapi/datamanagers.py index c8550d4..6c073dc 100644 --- a/src/senaite/jsonapi/datamanagers.py +++ b/src/senaite/jsonapi/datamanagers.py @@ -226,7 +226,7 @@ def set(self, name, value, **kw): raise Unauthorized("You are not allowed to modify this content") # prioritize setters over fields - setter = "set{}".format(name.capitalize(), None) + setter = "set{}".format(name.capitalize()) setter = getattr(self.context, setter, None) if setter: return setter(value)