Skip to content

Commit

Permalink
response model updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Aditya-Thakur committed Jan 20, 2021
1 parent 8905ad7 commit 0b033ef
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions models/response.model.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,17 @@ var responseSchema = new mongoose.Schema({
answer: {
type: [
{
questionContent : {
questionId : {
type: String
},
questionType : {
type: String
},
userResponse : {
type: String
},
optionList : {
type: [
{
value : {
type: String
}
}
]
type: [String]
}
}
]
Expand Down

0 comments on commit 0b033ef

Please sign in to comment.