From 88cc3a9da2bc50a3ff07bc95872af7129eae33f8 Mon Sep 17 00:00:00 2001 From: Dylan Hughes Date: Tue, 13 Aug 2024 12:36:51 -0400 Subject: [PATCH] update route names for disabling deployments --- src/services/WorkspaceDeploymentsApi.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/services/WorkspaceDeploymentsApi.ts b/src/services/WorkspaceDeploymentsApi.ts index 7805f8de3..53d3935b5 100644 --- a/src/services/WorkspaceDeploymentsApi.ts +++ b/src/services/WorkspaceDeploymentsApi.ts @@ -95,10 +95,10 @@ export class WorkspaceDeploymentsApi extends WorkspaceApi { } public disableDeployment(deploymentId: string): Promise { - return this.post(`/${deploymentId}/disable_deployment`) + return this.post(`/${deploymentId}/disable`) } public enableDeployment(deploymentId: string): Promise { - return this.post(`/${deploymentId}/enable_deployment`) + return this.post(`/${deploymentId}/enable`) } }