Skip to content

Commit 0cf1ab8

Browse files
Update client_io.dart.twig
1 parent 06bd218 commit 0cf1ab8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/dart/lib/src/client_io.dart.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class ClientIO extends ClientBase with ClientMixin {
4343
'x-sdk-platform': '{{ sdk.platform }}',
4444
'x-sdk-language': '{{ language.name | caseLower }}',
4545
'x-sdk-version': '{{ sdk.version }}',
46-
'user-agent' : '{{spec.title | caseUcfirst}}{{ language.name | caseUcfirst }}SDK/({{Platform.operatingSystem}}; {{Platform.operatingSystemVersion}})',
46+
'user-agent' : '{{spec.title | caseUcfirst}}{{ language.name | caseUcfirst }}SDK/{{ sdk.version }} ({{Platform.operatingSystem}}; {{Platform.operatingSystemVersion}})',
4747
{% for key,header in spec.global.defaultHeaders %}
4848
'{{key}}' : '{{header}}',
4949
{% endfor %}

0 commit comments

Comments
 (0)