mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-22 16:02:24 +00:00
nit workspace add
This commit is contained in:
+1
-2
@@ -166,8 +166,7 @@ export async function add(
|
||||
// first check whether workspaceId is actually a URL
|
||||
try {
|
||||
const url = new URL(workspaceId);
|
||||
workspaceId = url.username;
|
||||
url.username = "";
|
||||
workspaceId = workspaceName;
|
||||
remote = url.toString();
|
||||
} catch {
|
||||
// not a url
|
||||
|
||||
Reference in New Issue
Block a user