From 06aa897ace7e48c15169f24ab52056eb37a350af Mon Sep 17 00:00:00 2001 From: niamu01 Date: Tue, 20 Feb 2024 22:14:23 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20:recycle:=20=EC=82=AC=EC=9A=A9?= =?UTF-8?q?=ED=95=98=EB=8A=94=20db=20=EB=B3=80=EA=B2=BD=20temp=5Ffollows?= =?UTF-8?q?=20->=20follows?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - close #405 fix: :fire: 콘솔로그 삭제 --- app/src/follow/db/follow.database.schema.ts | 2 +- app/src/follow/follow.cache.service.ts | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/follow/db/follow.database.schema.ts b/app/src/follow/db/follow.database.schema.ts index be97a7d8..d3a010b9 100644 --- a/app/src/follow/db/follow.database.schema.ts +++ b/app/src/follow/db/follow.database.schema.ts @@ -3,7 +3,7 @@ import { HydratedDocument } from 'mongoose'; export type UserDocument = HydratedDocument; -@Schema({ collection: 'temp_follows' }) +@Schema({ collection: 'follows' }) export class follow { @Prop({ required: true }) userId: number; diff --git a/app/src/follow/follow.cache.service.ts b/app/src/follow/follow.cache.service.ts index df0604ee..91b1b8ab 100644 --- a/app/src/follow/follow.cache.service.ts +++ b/app/src/follow/follow.cache.service.ts @@ -23,8 +23,6 @@ export class FollowCacheService { }): Promise { const key = `${id}:${type}:${FOLLOW_LISTS}`; - console.log(`setting: ${key}`); - await this.cacheUtilService.set(key, list, 0); }