Merge branch 'ph-telemetry' of https://github.com/Infisical/infisical into ph-telemetry

This commit is contained in:
Tuan Dang
2023-01-09 17:11:51 +07:00
10 changed files with 431 additions and 64 deletions
+1
View File
@@ -228,6 +228,7 @@ const v1PushSecrets = async ({
}) => {
const newSecret = newSecretsObj[`${type}-${secretKeyHash}`];
return ({
_id: new Types.ObjectId(),
secret: _id,
version: version ? version + 1 : 1,
workspace: new Types.ObjectId(workspaceId),