Skip to content

Commit 8f66a39

Browse files
committed
format, remove change to utils.dart
1 parent 4a54ee3 commit 8f66a39

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

lib/src/common/issues_service.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,13 @@ class IssuesService extends Service {
130130
);
131131
}
132132

133-
/// Gets a stream of [Reaction]s for an issue.
133+
/// Gets a stream of [Reaction]s for an issue.
134134
/// The optional content param let's you filter the request for only reactions
135-
/// of that type.
135+
/// of that type.
136136
/// WARNING: ReactionType.plusOne and ReactionType.minusOne currently do not
137137
/// work and will throw an exception is used. All others without + or - signs
138138
/// work fine to filter.
139-
///
139+
///
140140
/// This API is currently in preview. It may break.
141141
///
142142
/// See https://developer.github.com/v3/reactions/

lib/src/util.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ String buildQueryString(Map<String, dynamic> params) {
1515
if (params[key] == null) {
1616
continue;
1717
}
18-
queryString
19-
.write('$key=${Uri.encodeQueryComponent(params[key].toString())}');
18+
queryString.write('$key=${Uri.encodeComponent(params[key].toString())}');
2019
if (i != params.keys.length) {
2120
queryString.write('&');
2221
}

0 commit comments

Comments
 (0)