Skip to content

Commit 8bec870

Browse files
committed
chore: fix typo
1 parent c821be7 commit 8bec870

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/dart/lib/src/client_mixin.dart.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class ClientMixin {
6262
(request as http.Request).body = jsonEncode(params);
6363
}
6464

65-
request.headers.addAll(headers.map((key, value) => MapEntry(key, URI.encodeFull(value))));
65+
request.headers.addAll(headers.map((key, value) => MapEntry(key, Uri.encodeFull(value))));
6666
return request;
6767
}
6868

templates/flutter/lib/src/client_mixin.dart.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class ClientMixin {
6262
(request as http.Request).body = jsonEncode(params);
6363
}
6464

65-
request.headers.addAll(headers.map((key, value) => MapEntry(key, URI.encodeFull(value))));
65+
request.headers.addAll(headers.map((key, value) => MapEntry(key, Uri.encodeFull(value))));
6666
return request;
6767
}
6868

0 commit comments

Comments
 (0)