- change calling convention for Add slightly; if the Add function for
[plcapi.git] / PLC / Methods / UpdateSlice.py
index 058ad5b..6d046de 100644 (file)
@@ -29,8 +29,6 @@ class UpdateSlice(Method):
     roles = ['admin', 'pi', 'user']
 
     slice_fields = dict(filter(can_update, Slice.fields.items()))
-    for field in slice_fields.values():
-        field.optional = True
 
     accepts = [
         PasswordAuth(),