From ce8c83a39ca5cf8405819e0b5d9e2d171cd3d140 Mon Sep 17 00:00:00 2001 From: DinoDeveloper Date: Wed, 20 Nov 2024 19:19:49 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20feedService=20blogName=20?= =?UTF-8?q?=ED=83=80=EC=9E=85=20=EB=B3=80=EA=B2=BD=20=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/feed/feed.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/feed/feed.service.ts b/server/src/feed/feed.service.ts index 066447cf..3b1f2ba5 100644 --- a/server/src/feed/feed.service.ts +++ b/server/src/feed/feed.service.ts @@ -110,8 +110,8 @@ export class FeedService { case 'title': qb.where('MATCH (feed.title) AGAINST (:find)', { find }); break; - case 'userName': - qb.where('MATCH (blog.userName) AGAINST (:find)', { find }); + case 'blogName': + qb.where('MATCH (blog.name) AGAINST (:find)', { find }); break; case 'all': qb.where('MATCH (feed.title) AGAINST (:find)', { find }).orWhere(