Commit 6a24dfc9 authored by Radheshhathwar's avatar Radheshhathwar
Browse files

Made changes in uploadExcel()

Removed the assessmentType
1 merge request!16Made changes in uploadExcel()
Showing with 0 additions and 6 deletions
+0 -6
......@@ -52,11 +52,6 @@ object AssessmentManager {
channelOption.foreach { channel =>
request.getRequest.put("channel", channel.asInstanceOf[AnyRef])
}
val assessmentTypeOption: Option[String] = request.headers.get("assessmentType")
// Check if the assessmentType is present
assessmentTypeOption.foreach { assessmentType =>
request.getRequest.put("assessmentType", assessmentType.asInstanceOf[AnyRef])
}
create(request, errCode)
}
......
......@@ -151,7 +151,6 @@ class QuestionController @Inject()(@Named(ActorNames.QUESTION_ACTOR) questionAct
val futures = questions.get.map(question => {
val headers = commonHeaders(request.headers)
headers.put("channel", question.get("channel"))
headers.put("questionType", question.get("assessmentType"))
question.putAll(headers)
logger.info("put headers " + headers)
logger.info("creating question := {}", questions.toString)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment