From 5013b794d0393e368b20b58203ca251a5a474576 Mon Sep 17 00:00:00 2001
From: chausman <chausman@nrao.edu>
Date: Fri, 19 Feb 2021 12:06:41 -0700
Subject: [PATCH] making UI use new create_capability_request route

---
 .../src/app/workspaces/services/capability-launcher.service.ts  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/web/src/app/workspaces/services/capability-launcher.service.ts b/apps/web/src/app/workspaces/services/capability-launcher.service.ts
index 7d10a9465..91ffb0d46 100644
--- a/apps/web/src/app/workspaces/services/capability-launcher.service.ts
+++ b/apps/web/src/app/workspaces/services/capability-launcher.service.ts
@@ -34,7 +34,7 @@ export class CapabilityLauncherService {
    * @param: requestId  ID of capability request to submit
    */
   submit(requestId: string): Observable<CapabilityExecution> {
-    const url = `${environment.workspacesUrl}${this.endpoint}/${requestId}/submit`;
+    const url = `${environment.workspacesUrl}${this.endpoint}request/${requestId}/submit`;
     return this.httpClient.post<CapabilityExecution>(url, null);
   }
 }
-- 
GitLab