Skip to content

Commit

Permalink
[CodeFactor] chore: Apply fixes (#3)
Browse files Browse the repository at this point in the history
Co-authored-by: codefactor-io <[email protected]>
  • Loading branch information
codefactor-io[bot] and code-factor authored Jan 3, 2024
1 parent fe1315f commit f8b3559
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dashboard/summary/summary.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ export class SummaryService {
dbUsers.forEach((user) => {
// 사용자가 최근 1년 이내에 접속했는지 확인합니다.
if (
new Date(user.registeredAt).getTime() > new Date(Date.now() - 1000 * 60 * 60 * 24 * 365).getTime()
new Date(user.registeredAt).getTime() >
new Date(Date.now() - 1000 * 60 * 60 * 24 * 365).getTime()
) {
// 사용자가 접속한 월을 가져옵니다.
const userMonth = new Date(user.registeredAt).getMonth();
Expand Down

0 comments on commit f8b3559

Please sign in to comment.