Skip to content

Commit

Permalink
refactor: ♻️ 사용하는 db 변경 temp_follows -> follows
Browse files Browse the repository at this point in the history
- close #405

fix: 🔥 콘솔로그 삭제
  • Loading branch information
niamu01 committed Feb 20, 2024
1 parent 1a64608 commit 06aa897
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion app/src/follow/db/follow.database.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { HydratedDocument } from 'mongoose';

export type UserDocument = HydratedDocument<follow>;

@Schema({ collection: 'temp_follows' })
@Schema({ collection: 'follows' })
export class follow {
@Prop({ required: true })
userId: number;
Expand Down
2 changes: 0 additions & 2 deletions app/src/follow/follow.cache.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ export class FollowCacheService {
}): Promise<void> {
const key = `${id}:${type}:${FOLLOW_LISTS}`;

console.log(`setting: ${key}`);

await this.cacheUtilService.set(key, list, 0);
}

Expand Down

0 comments on commit 06aa897

Please sign in to comment.