Skip to content

Commit

Permalink
Dummy bbv2 test pr (flutter#3602)
Browse files Browse the repository at this point in the history
*Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.*

*List which issues are fixed by this PR. You must list at least one issue.*

*If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
  • Loading branch information
ricardoamador authored Apr 9, 2024
1 parent 8dfd1b8 commit 654c82c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class SchedulerRequestSubscription extends SubscriptionHandler {
try {
jsonData = jsonDecode(data) as Map<String, dynamic>;
} on FormatException {
log.info('alternate decoding method being tried.');
jsonData = json.decode(String.fromCharCodes(base64.decode(data))) as Map<String, dynamic>;
}
request = BatchRequest.fromJson(jsonData);
Expand Down

0 comments on commit 654c82c

Please sign in to comment.