From c1c7ed7d3d07064c60bbe67b56608563de4a0aa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Lodeiros?= Date: Sat, 2 Mar 2024 18:13:22 +0100 Subject: [PATCH] [IMP]pms_api_rest: Rss post imageUrl in service --- pms_api_rest/services/feed_post_service.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pms_api_rest/services/feed_post_service.py b/pms_api_rest/services/feed_post_service.py index 27d5660cb..3b4c832b2 100644 --- a/pms_api_rest/services/feed_post_service.py +++ b/pms_api_rest/services/feed_post_service.py @@ -33,8 +33,7 @@ class PmsFeedRss(Component): description=rss.description, publishDate=str(rss.publish_date), author=rss.author if rss.author else "", - imageUrl="https://www.roomdoo.com/wp-content" - "/uploads/2021/09/hotel-roomdoo.png", + imageUrl=rss.image_url or "", ) ) return result_rss