mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
Fixed the sorting buf with version history
This commit is contained in:
@@ -18,6 +18,7 @@ import { SecretVersion } from '../../models';
|
||||
secretVersions = await SecretVersion.find({
|
||||
secret: secretId
|
||||
})
|
||||
.sort({ createdAt: -1 })
|
||||
.skip(offset)
|
||||
.limit(limit);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user