Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
avmesquita committed Dec 7, 2024
1 parent 91326a6 commit 5e45ecf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export class IsMaximumTimeSpentReached {

public async isSatisfiedBy(
event: Event,
newTime: number = 0
newTime = 0
): Promise<boolean> {
const user = event.getUser();
const date = event.getDate();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class UserRepository implements IUserRepository {

public findUsers(
withAccountant: boolean,
noLeavingDate: boolean = false
noLeavingDate = false
): Promise<User[]> {
const query = this.repository
.createQueryBuilder('user')
Expand Down
2 changes: 1 addition & 1 deletion src/Infrastructure/Task/Repository/TaskRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class TaskRepository implements ITaskRepository {
.getOne();
}

public findTasks(page: number = 1): Promise<[Task[], number]> {
public findTasks(page = 1): Promise<[Task[], number]> {
return this.repository
.createQueryBuilder('task')
.select(['task.id', 'task.name'])
Expand Down

0 comments on commit 5e45ecf

Please sign in to comment.