mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 03:31:27 +00:00
Fix commonjs import/export for patchRouterParam and make secret versioning/snapshots compatible with prev unversioned secrets
This commit is contained in:
@@ -29,8 +29,7 @@ const secretSchema = new Schema<ISecret>(
|
||||
{
|
||||
version: {
|
||||
type: Number,
|
||||
default: 1,
|
||||
required: true
|
||||
required: true
|
||||
},
|
||||
workspace: {
|
||||
type: Schema.Types.ObjectId,
|
||||
|
||||
Reference in New Issue
Block a user