@infrab4a/connect-angular 4.0.6 → 4.0.7-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/services/catalog/wishlist.service.mjs +3 -3
- package/fesm2015/infrab4a-connect-angular.mjs +2 -2
- package/fesm2015/infrab4a-connect-angular.mjs.map +1 -1
- package/fesm2020/infrab4a-connect-angular.mjs +2 -2
- package/fesm2020/infrab4a-connect-angular.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1704,7 +1704,7 @@ class WishlistService {
|
|
|
1704
1704
|
}
|
|
1705
1705
|
async create(personId, title, description, userFullName, userPhoto) {
|
|
1706
1706
|
const data = {
|
|
1707
|
-
slug: '
|
|
1707
|
+
slug: '',
|
|
1708
1708
|
name: title,
|
|
1709
1709
|
description,
|
|
1710
1710
|
metadata: {
|
|
@@ -1720,7 +1720,7 @@ class WishlistService {
|
|
|
1720
1720
|
published: true,
|
|
1721
1721
|
};
|
|
1722
1722
|
const newWishlist = await this.wishlistRepository.create(data);
|
|
1723
|
-
return this.wishlistRepository.update({ id: newWishlist.id, slug:
|
|
1723
|
+
return this.wishlistRepository.update({ id: newWishlist.id, slug: newWishlist.id });
|
|
1724
1724
|
}
|
|
1725
1725
|
update(id, title, description, userFullName, userPhoto) {
|
|
1726
1726
|
const data = {
|