If item.createdAt is missing, add it in exports.post