Skip to content

Commit

Permalink
made changes to service.ts to use order
Browse files Browse the repository at this point in the history
  • Loading branch information
anudeeps352 authored Jul 26, 2024
1 parent 50ea093 commit dff5bb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/api/src/secret/service/secret.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ export class SecretService {
environmentId: Environment['id'],
page: number,
limit: number,
sort: string
order: string
) {
//check access to secret
await this.authorityCheckerService.checkAuthorityOverSecret({
Expand All @@ -523,7 +523,7 @@ export class SecretService {
skip: page * limit,
take: limit,
orderBy: {
[sort]: sort
version: order
}
})
return revisions
Expand Down

0 comments on commit dff5bb1

Please sign in to comment.