- change calling convention for Add slightly; if the Add function for
[plcapi.git] / PLC / Methods / UpdateNode.py
index 3566a42..4c2f284 100644 (file)
@@ -22,8 +22,6 @@ class UpdateNode(Method):
     roles = ['admin', 'pi', 'tech']
 
     node_fields = dict(filter(can_update, Node.fields.items()))
-    for field in node_fields.values():
-        field.optional = True
 
     accepts = [
         PasswordAuth(),