feat(infisical-pg): changed frontend api types _id to normal id

This commit is contained in:
Akhil Mohan
2024-01-27 12:38:22 +05:30
parent f3b37de3f3
commit aaba4a0895
161 changed files with 5358 additions and 4510 deletions
+4 -4
View File
@@ -112,8 +112,8 @@ const initProjectHelper = async ({
});
await uploadWsKey({
workspaceId: workspace._id,
userId: user._id,
workspaceId: workspace.id,
userId: user.id,
encryptedKey: ciphertext,
nonce
});
@@ -121,13 +121,13 @@ const initProjectHelper = async ({
// encrypt and upload secrets to new project
const secrets = await encryptSecrets({
secretsToEncrypt: secretsToBeAdded,
workspaceId: workspace._id,
workspaceId: workspace.id,
env: "dev"
});
secrets?.forEach((secret) => {
createSecret({
workspaceId: workspace._id,
workspaceId: workspace.id,
environment: secret.environment,
type: secret.type,
secretKey: secret.secretName,