mongodb will keep creating a new cart instead of using the previously created cart How do I fix this?
I am trying to add a product to a shopping cart in mongodb but the code I have written does not work. It was previously working but when I switched from local mongodb to mongodb atlas cloud and then back…