Unverified Commit cad4d133 authored by Kate Lovett's avatar Kate Lovett Committed by GitHub

Fix Gold json for digest paramset (#64757)

parent 5a4fa220
......@@ -168,7 +168,7 @@ String digestResponseTemplate({
"status": "positive",
"paramset": {
"Platform": [
"macos"
"$platform"
],
"ext": [
"png"
......
......@@ -687,7 +687,9 @@ class SkiaGoldDigest {
factory SkiaGoldDigest.fromJson(Map<String, dynamic> json) {
return SkiaGoldDigest(
imageHash: json['digest'] as String,
paramSet: Map<String, dynamic>.from(json['paramset'] as Map<String, dynamic>? ??
paramSet:
Map<String, dynamic>.from(
json['refDiffs']['pos']['paramset'] as Map<String, dynamic>? ??
<String, List<String>>{
'Platform': <String>[],
'Browser' : <String>[],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment