Fix inventory subscription filter with 'neq'; fix CloudInfo notification
[pti/o2.git] / o2app / entrypoints / redis_eventconsumer.py
index 1410f76..458514f 100644 (file)
@@ -120,8 +120,8 @@ def handle_changed(m, bus):
         data = json.loads(datastr)
         logger.info('OcloudChanged with cmd:{}'.format(data))
         cmd = imscmd.Register2SMO(data=RegistrationMessage(
-            data['notificationEventType'],
-            id=data['id']))
+            id=data['id'], eventtype=data['notificationEventType'],
+            updatetime=data['updatetime']))
         bus.handle(cmd)
     elif channel == 'AlarmEventChanged':
         datastr = m['data']