Add the command that registers to the SMO; Make the create registration and create...
[pti/o2.git] / o2ims / views / ocloud_route.py
index c50907b..99adb5f 100644 (file)
@@ -227,7 +227,7 @@ class RegistrationListRouter(Resource):
     @api_ims_inventory_v1.marshal_with(post_resp, code=201)
     def post(self):
         data = api_ims_inventory_v1.payload
-        result = ocloud_view.registration_create(data, bus.uow)
+        result = ocloud_view.registration_create(data, bus)
         return result, 201