Commit graph

2 commits

Author SHA1 Message Date
Frostyfrog
d633e90874
Avoid saving product data if nothing was returned (#101)
* fix: Check if productData is set first

Throughout my testing and debugging, it was possible for productData to
be "undefined". To prevent errors, it's best to check for it's existence
first.

Signed-off-by: Colton Wolkins (Laptop) <colton@indicio.tech>

* fix: avoid saving wishlist when there's no change

Signed-off-by: Colton Wolkins (Laptop) <colton@indicio.tech>

---------

Signed-off-by: Colton Wolkins (Laptop) <colton@indicio.tech>
2023-11-25 21:37:15 -05:00
Wingy
0b26ec0ce4
refactor wishlist manipulation code (#66) 2022-12-10 17:00:24 -05:00