Skip to content

Commit

Permalink
removing number
Browse files Browse the repository at this point in the history
  • Loading branch information
DhairyaMajmudar committed Jul 30, 2024
1 parent 48090a5 commit f637ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/workspace/service/workspace.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ export class WorkspaceService {
//get all workspaces of user for page with limit
const items = await this.prisma.workspace.findMany({
skip: page * limit,
take: Number(limit),
take: limit,
orderBy: {
[sort]: order
},
Expand Down

0 comments on commit f637ba3

Please sign in to comment.