Create Update Comment

All my unit tests pass but I can’t the Status page to validate:

response = db.comments.update_one(
        { "_id": comment_id, "email": user_email },
        { "$set": { "text": text, "date": date } }
    )

    return response

I would verify if comment_id is of the right data type.

2 Likes

Thank you so much steevej! Much appreciated.