Skip to content

Commit

Permalink
Fix : esLint
Browse files Browse the repository at this point in the history
  • Loading branch information
earthkingman committed Nov 16, 2021
1 parent b1dd280 commit 9ff27b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/subject/subject.entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
CreateDateColumn,
Entity,
PrimaryGeneratedColumn,
UpdateDateColumn
UpdateDateColumn,
} from 'typeorm';

@Entity()
Expand Down
2 changes: 1 addition & 1 deletion src/subject/subject.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class SubjectService {
async getPostListByUpdate(pageInfo: GetListDto) {
const nowDate = new Date();
const dayOfMonth = nowDate.getDate();

nowDate.setDate(dayOfMonth - 7);
const subjectList = await this.subjectRepository
.createQueryBuilder('subject')
Expand Down

0 comments on commit 9ff27b1

Please sign in to comment.