Rewire dashboard to pull from v3/secrets with folderId support

This commit is contained in:
Tuan Dang
2023-08-28 09:12:04 +01:00
parent f924d0c02c
commit d72ddfe315
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,