From 424e1b44a0c9833a83645efa5bf156738f48d1fb Mon Sep 17 00:00:00 2001 From: Priyanka Pradeep Date: Wed, 1 Jun 2022 10:40:01 +0530 Subject: [PATCH] added userprofile in observation/assessment api --- controllers/v1/observationsController.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/controllers/v1/observationsController.js b/controllers/v1/observationsController.js index 5d102ef5..a093a00d 100644 --- a/controllers/v1/observationsController.js +++ b/controllers/v1/observationsController.js @@ -1153,7 +1153,8 @@ module.exports = class Observations extends Abstract { createdBy: observationDocument.createdBy, evidenceSubmissions: [], entityProfile: {}, - status: "started" + status: "started", + userProfile : observationDocument.userProfile }; if( solutionDocument.hasOwnProperty("criteriaLevelReport") ) {