Skip to content

Commit

Permalink
Merge pull request #242 from weijarz/main
Browse files Browse the repository at this point in the history
Put the full text in the content field.
  • Loading branch information
cooderl authored Sep 11, 2024
2 parents f2860b5 + de2658c commit f7f4f85
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/server/src/feeds/feeds.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,17 +189,17 @@ export class FeedsService {
const mpName = feeds.find((item) => item.id === mpId)?.mpName || '-';
const published = new Date(publishTime * 1e3);

let description = '';
let content = '';
if (enableFullText) {
description = await this.tryGetContent(id);
content = await this.tryGetContent(id);
}

feed.addItem({
id,
title,
link: link,
guid: link,
description,
content,
date: published,
image: picUrl,
author: showAuthor ? [{ name: mpName }] : undefined,
Expand Down

0 comments on commit f7f4f85

Please sign in to comment.