Merge pull request #904 from Infisical/dashboard-get-secrets

Rewire dashboard to pull from v3/secrets with folderId support
This commit is contained in:
Maidul Islam
2023-08-29 13:54:37 -04:00
committed by GitHub
5 changed files with 13 additions and 2 deletions
+1 -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,