Skip to content
Permalink
Browse files
final routing fix
  • Loading branch information
caracold committed Apr 23, 2020
1 parent a1d2125 commit 819e8c86f95e85f3d7e2a725f75ba3931f6030df
Showing 1 changed file with 1 addition and 2 deletions.
@@ -106,8 +106,7 @@ exports.getMessage = (req, res, next) => {
.then(doc => {
if (doc) {
const response = {
count: docs.length,
items: docs.map(doc => {
items: doc.map(doc => {
return {
_id: doc._id,
sender: doc.sender,

0 comments on commit 819e8c8

Please sign in to comment.