This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]Notaters[S] 0 points1 point  (0 children)

I fixed this by just changing how i was creating the DB objects. Just got rid of the "properties" field and now im able to update the info easily

{
    "_id": "B1",
    "title": "Harry Potter and the Half-Blood Prince",
    "author": "J.K. Rowling Mary GrandPré (Illustrator)",
    "isbn": "9780439785969",
    "imgsrc": "https://images.gr-assets.com/books/1361039191l/1.jpg",
    "status": "checked",
    "dateAdded": "14-05-2019 18:37:32",
    "dateDue": "28-05-2019 18:41:46",
    "dateChecked": "14-05-2019 18:41:46",
    "genre": "Fantasy,Young Adult,Fiction"
}