@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.
@@ -1704,7 +1704,7 @@ class WishlistService {
1704
1704
  }
1705
1705
  async create(personId, title, description, userFullName, userPhoto) {
1706
1706
  const data = {
1707
- slug: 'favoritos',
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: `${newWishlist.id}-${newWishlist.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 = {