From e49b57ad4e3c38eb21e7b4ee597b8a6c2937a92d Mon Sep 17 00:00:00 2001 From: zyoshoka Date: Sun, 26 Nov 2023 11:12:23 +0900 Subject: [PATCH] refactor: rename funout to fanout --- packages/backend/src/server/web/FeedService.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/backend/src/server/web/FeedService.ts b/packages/backend/src/server/web/FeedService.ts index dd99ee15e6..4e35ae4b45 100644 --- a/packages/backend/src/server/web/FeedService.ts +++ b/packages/backend/src/server/web/FeedService.ts @@ -15,7 +15,7 @@ import { UserEntityService } from '@/core/entities/UserEntityService.js'; import { DriveFileEntityService } from '@/core/entities/DriveFileEntityService.js'; import { bindThis } from '@/decorators.js'; import { IdService } from '@/core/IdService.js'; -import { FunoutTimelineService } from '@/core/FunoutTimelineService.js'; +import { FanoutTimelineService } from '@/core/FanoutTimelineService.js'; import type { FastifyReply, FastifyRequest } from 'fastify'; export type FeedFormat = 'atom' | 'rss' | 'json'; @@ -41,7 +41,7 @@ export class FeedService { private userEntityService: UserEntityService, private driveFileEntityService: DriveFileEntityService, private idService: IdService, - private funoutTimelineService: FunoutTimelineService, + private fanoutTimelineService: FanoutTimelineService, ) { } @@ -67,7 +67,7 @@ export class FeedService { let withFilesIds: string[] = []; if (opts.withFiles) { - withFilesIds = await this.funoutTimelineService.get(`userTimelineWithFiles:${user.id}`); + withFilesIds = await this.fanoutTimelineService.get(`userTimelineWithFiles:${user.id}`); } const notes = await this.notesRepository.find({