From 4d32cecc4acff28f8a288cec57dd8cb063cefda3 Mon Sep 17 00:00:00 2001 From: yini-chen Date: Fri, 5 Jul 2024 17:06:30 +0800 Subject: [PATCH] fix: OpenAPI request user-agent --- src/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.ts b/src/utils.ts index 247e07f..faae7c1 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -543,5 +543,5 @@ export const formatName = (name: string): string => { }; export const getUserAgent = () => { - return `Toolkit (${os.type()}; ${os.release()}) alibababcloud-api-toolkit/${vscode.extensions.getExtension("alibabacloud-openapi.vscode-alicloud-api").packageJSON.version} VS Code/${vscode.version}`; + return `Toolkit (${os.type()}; ${os.release()}) alibabacloud-api-toolkit/${vscode.extensions.getExtension("alibabacloud-openapi.vscode-alicloud-api").packageJSON.version} VS Code/${vscode.version}`; };