Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
alextekartik committed Aug 16, 2024
1 parent 4e357fc commit 7d6fa38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions firebase_functions/lib/src/express_http_request.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ String requestBodyAsText(dynamic body) {
return utf8.decode(body.cast<int>());
} else if (body is Map) {
return jsonEncode(body);
} else if (body is List) {
return jsonEncode(body);
}
throw 'body $body not text';
}
Expand Down

0 comments on commit 7d6fa38

Please sign in to comment.