File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ class ShoppingCart {
118
118
// Implement functionality here
119
119
}
120
120
121
- getUser () {
121
+ getUser (user ) {
122
122
// Implement functionality here
123
123
}
124
124
}
@@ -139,7 +139,7 @@ Create the functionality for the `ShoppingCart` class.
139
139
- ` getTotal ` should get the total price of the products in the ` shoppingcart ` .
140
140
- ` renderProducts ` should render the products to html. You decide what to show and how.
141
141
- ` searchProduct ` should return an array of product that match the ` productName ` parameter
142
- - ` getUser ` should return a promise with the data from this api: https://jsonplaceholder.typicode.com/users/1
142
+ - ` getUser ` should return a promise with the data from this api: https://jsonplaceholder.typicode.com/users/1 (replace '1' with correct user).
143
143
144
144
### Part 2
145
145
You can’t perform that action at this time.
0 commit comments