- - added logging variable 'object_type'
[plcapi.git] / PLC / Methods / AddNode.py
index 485667b..e355dca 100644 (file)
@@ -33,6 +33,8 @@ class AddNode(Method):
 
     returns = Parameter(int, 'New node_id (> 0) if successful')
 
+    object_type = 'Node'
+
 
     def call(self, auth, site_id_or_login_base, node_fields):
         node_fields = dict(filter(can_update, node_fields.items()))