Updating rss source to be the name of the source not link

This commit is contained in:
Logan Cusano
2023-03-11 15:54:27 -05:00
parent 6cccc86d90
commit 1e6a50ff1b

View File

@@ -82,8 +82,7 @@ exports.sendPost = (post, source, channel, callback) => {
const postId = post.postId;
const postPubDate = new Date(post.pubDate).toISOString() ?? new Date().toISOString();
var postSourceLink = new URL(source.link);
postSourceLink = postSourceLink.hostname;
var postSourceLink = source.title;
var postImage = post.image ?? undefined;
if (!postImage){