Skip to content

Commit 5965598

Browse files
committed
Addresses #196
1 parent c28cb7c commit 5965598

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/common/github.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ class GitHub {
387387
if (response.headers['content-type'].contains('application/json')) {
388388
final json = jsonDecode(response.body);
389389
message = json['message'];
390-
errors = json['errors'] as List<Map<String, String>>;
390+
errors = List<Map<String, String>>.from(json['errors']);
391391
}
392392
switch (response.statusCode) {
393393
case 404:

0 commit comments

Comments
 (0)