mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 22:51:53 +00:00
feat(infisical-pg): changed frontend api types _id to normal id
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user