Skip to content

Commit

Permalink
Merge pull request #6 from Prakharnagore/getalluser-update
Browse files Browse the repository at this point in the history
add tenant in get all users
  • Loading branch information
Prakharnagore authored Aug 24, 2024
2 parents ae79c0b + 125c0d6 commit 4ff659d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/UserService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ export class UserService {
}

const result = await queryBuilder
.leftJoinAndSelect("user.tenant", "tenant")
.skip((validateQuery.currentPage - 1) * validateQuery.perPage)
.take(validateQuery.perPage)
.orderBy("user.id", "DESC")
Expand Down

0 comments on commit 4ff659d

Please sign in to comment.