Skip to content

Commit

Permalink
fix: OpenAPI request user-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
yini-chen committed Jul 5, 2024
1 parent 6c3cd58 commit 4d32cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;
};

0 comments on commit 4d32cec

Please sign in to comment.