mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 21:37:59 +00:00
feat(PIT-revamp): snapshot changes for PIT revamp and add docs for new logic
This commit is contained in:
@@ -282,7 +282,8 @@ export const useUpdateProject = () => {
|
||||
newProjectName,
|
||||
newProjectDescription,
|
||||
newSlug,
|
||||
secretSharing
|
||||
secretSharing,
|
||||
showSnapshotsLegacy
|
||||
}) => {
|
||||
const { data } = await apiRequest.patch<{ workspace: Workspace }>(
|
||||
`/api/v1/workspace/${projectID}`,
|
||||
@@ -290,7 +291,8 @@ export const useUpdateProject = () => {
|
||||
name: newProjectName,
|
||||
description: newProjectDescription,
|
||||
slug: newSlug,
|
||||
secretSharing
|
||||
secretSharing,
|
||||
showSnapshotsLegacy
|
||||
}
|
||||
);
|
||||
return data.workspace;
|
||||
|
||||
Reference in New Issue
Block a user