Merge pull request #887 from Infisical/signup-secret-tagging

Update signup secret distinction/tagging for better telemetry
This commit is contained in:
vmatsiiako
2023-08-23 19:23:44 -07:00
committed by GitHub
5 changed files with 21 additions and 7 deletions
+2 -1
View File
@@ -38,7 +38,7 @@ const fetchProjectEncryptedSecrets = async (
folderId?: string,
secretPath?: string
) => {
const { data } = await apiRequest.get<{ secrets: EncryptedSecret[] }>("/api/v2/secrets", {
const { data } = await apiRequest.get<{ secrets: EncryptedSecret[] }>("/api/v3/secrets", {
params: {
environment: env,
workspaceId,
@@ -46,6 +46,7 @@ const fetchProjectEncryptedSecrets = async (
secretPath
}
});
return data.secrets;
};