Skip to content

Commit

Permalink
๐Ÿงผ clean: ์ถ”ํ›„ ๋ฆฌํŒฉํ† ๋งํ•  ์ง€์  ์ฃผ์„์œผ๋กœ ํ‘œ์‹œ
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeVac513 committed Feb 13, 2025
1 parent c9a2c84 commit ef17ef6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions feed-crawler/src/claude.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export class ClaudeService {
}),
);

// TODO: Refactor
const successFeeds = processedFeeds
.map((result) =>
result.status === "fulfilled" && result.value.succeeded === true
Expand All @@ -63,6 +64,7 @@ export class ClaudeService {
)
.filter((result) => result !== null);

// TODO: Refactor
const failedFeeds = processedFeeds
.map((result, index) => {
if (result.status === "rejected") {
Expand Down
1 change: 1 addition & 0 deletions feed-crawler/src/feed-crawler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export class FeedCrawler {
}
logger.info(`์ด ${newFeeds.length}๊ฐœ์˜ ์ƒˆ๋กœ์šด ํ”ผ๋“œ๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค.`);

// TODO: Refactor
const insertedData: FeedDetail[] =
await this.feedRepository.insertFeeds(newFeeds);
const createdData = await this.claudeService.useCaludeService(insertedData);
Expand Down

0 comments on commit ef17ef6

Please sign in to comment.