Ghost/ghost/recommendations/test
Sag 7a40ab52fb
🐛 Fixed adding recommendation when oembed fails (#19861)
refs https://linear.app/tryghost/issue/ENG-750

- when adding a recommendation, we fetch the recommended site's metadata
- before this change, if the metadata fetch failed for some reason, we'd show an error and block the recommendation from being added
- after this change, we use fallback values if the metadata fails to fetch, instead of blocking the recommendation from being added. We use the site domain as the title and leave the rest empty (no favicon, no description)
- this change also means we are not checking whether a site exists or not for the publisher anymore. It’s then up to the publisher to make sure they don’t enter broken URLs
2024-03-14 11:36:28 +01:00
..
.eslintrc.js
BookshelfClickEventRepository.test.ts
BookshelfRecommendationRepository.test.ts
BookshelfSubscribeEventRepository.test.ts
IncomingRecommendationController.test.ts
IncomingRecommendationEmailRenderer.test.ts
IncomingRecommendationService.test.ts
Recommendation.test.ts
RecommendationController.test.ts
RecommendationMetadataService.test.ts 🐛 Fixed returning HTTP 500 response when recommendations check fails 2024-03-12 12:31:44 +01:00
RecommendationService.test.ts 🐛 Fixed adding recommendation when oembed fails (#19861) 2024-03-14 11:36:28 +01:00
UnsafeData.test.ts
WellknownService.test.ts