Skip to content

Commit

Permalink
only archive projects (#6806)
Browse files Browse the repository at this point in the history
  • Loading branch information
gatzjames committed Nov 14, 2023
1 parent 362dfef commit c64c9aa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/insomnia/src/ui/routes/actions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -341,8 +341,6 @@ export const deleteWorkspaceAction: ActionFunction = async ({
try {
const vcs = VCSInstance();
await vcs.switchAndCreateBackendProjectIfNotExist(workspaceId, workspace.name);
const backendProject = await vcs._getBackendProjectByRootDocument(workspace._id);
await vcs._removeProject(backendProject);
await vcs.archiveProject();
} catch (err) {
return {
Expand Down

0 comments on commit c64c9aa

Please sign in to comment.