diff --git a/backend/models/postgis/user.py b/backend/models/postgis/user.py index c10a431df5..6b019e265c 100644 --- a/backend/models/postgis/user.py +++ b/backend/models/postgis/user.py @@ -107,7 +107,7 @@ def update(self, user_dto: UserDTO): try: is_field_nullable = self.__table__.columns[attr].nullable - if is_field_nullable and value is not None: + if is_field_nullable: setattr(self, attr, value) elif value is not None: setattr(self, attr, value)