- change calling convention for Add slightly; if the Add function for
[plcapi.git] / PLC / Methods / UpdateAddress.py
index e6885d9..c0687b6 100644 (file)
@@ -21,8 +21,6 @@ class UpdateAddress(Method):
     roles = ['admin', 'pi']
 
     address_fields = dict(filter(can_update, Address.fields.items()))
-    for field in address_fields.values():
-        field.optional = True
 
     accepts = [
         PasswordAuth(),