Skip to content

Commit

Permalink
add createdAt to chat response
Browse files Browse the repository at this point in the history
  • Loading branch information
mhmadalaa committed May 19, 2024
1 parent 0b5e25f commit d8f6b5a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/controllers/questionController.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ exports.reteriveChat = catchAsync(async (req, res) => {
question: questions[i].question,
answer: questions[i].answer,
sources: JSON.parse(questions[i].sources).sources,
createdAt: questions[i].createdAt,
});
}

Expand Down

0 comments on commit d8f6b5a

Please sign in to comment.