Skip to content

Commit f580dc6

Browse files
committed
rename methods
1 parent d3a086e commit f580dc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/insomnia/src/routes/organization.$organizationId.project.$projectId.workspace.delete.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { createFetcherSubmitHook } from '~/utils/router';
1010

1111
import type { Route } from './+types/organization.$organizationId.project.$projectId.workspace.delete';
1212

13-
async function deleteCloudSyncWorkspaceCloud(workspace: Workspace, project: Project, localOnly: boolean) {
13+
async function deleteCloudSyncWorkspace(workspace: Workspace, project: Project, localOnly: boolean) {
1414
const workspaceMeta = await models.workspaceMeta.getOrCreateByParentId(workspace._id);
1515
const isGitSync = !!workspaceMeta.gitRepositoryId;
1616

@@ -42,7 +42,7 @@ async function deleteWorkspace(workspace: Workspace | null, project: Project | n
4242
invariant(workspace, 'Workspace not found');
4343
invariant(project, 'Project not found');
4444

45-
const ret = await deleteCloudSyncWorkspaceCloud(workspace, project, localOnly);
45+
const ret = await deleteCloudSyncWorkspace(workspace, project, localOnly);
4646
if (ret?.error) {
4747
return ret;
4848
}

0 commit comments

Comments
 (0)