This commit is contained in:
amartynov 2015-09-14 17:51:24 +03:00
parent d9eafd695b
commit 01aa4a6607

View File

@ -69,7 +69,7 @@ module Devops
def set_project_components id
body = parser.set_project_components
project = BaseRoutes.mongo.project(id)
project = Devops::Db.connector..project(id)
project.components = body["components"]
project.validate_components
Devops::Db.connector.project_update id, "components", body["components"]