fixes transcoding issue for nodes - local nodes were transcoded to None
[plcapi.git] / PLC / Methods / UpdateSlice.py
index 391f221..357a10f 100644 (file)
@@ -39,6 +39,8 @@ class UpdateSlice(Method):
 
     returns = Parameter(int, '1 if successful')
 
+    object_type = 'Slice'
+
     def call(self, auth, slice_id_or_name, slice_fields):
         slice_fields = dict(filter(can_update, slice_fields.items()))