mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 17:27:40 +00:00
fix: moved backend get sec to v2 for dashboard
This commit is contained in:
@@ -38,7 +38,7 @@ const fetchProjectEncryptedSecrets = async (
|
|||||||
folderId?: string,
|
folderId?: string,
|
||||||
secretPath?: string
|
secretPath?: string
|
||||||
) => {
|
) => {
|
||||||
const { data } = await apiRequest.get<{ secrets: EncryptedSecret[] }>("/api/v3/secrets", {
|
const { data } = await apiRequest.get<{ secrets: EncryptedSecret[] }>("/api/v2/secrets", {
|
||||||
params: {
|
params: {
|
||||||
environment: env,
|
environment: env,
|
||||||
workspaceId,
|
workspaceId,
|
||||||
@@ -345,4 +345,4 @@ export const useCreateSecret = () => {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user