Skip to content

Commit

Permalink
fix(voltron): fix voltron http request dio null error
Browse files Browse the repository at this point in the history
  • Loading branch information
lvfen committed Jul 23, 2024
1 parent b5c2d1d commit 34ddd45
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions framework/voltron/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.0.40

-resolve dio error data is null

## 0.0.38

- resolve remoteServerUrl parse version id failed
Expand Down
2 changes: 1 addition & 1 deletion framework/voltron/lib/adapter/http.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ abstract class VoltronHttpAdapter with Destroyable {
statusMessage: e.response?.statusMessage ?? '',
headerMap: e.response?.headers.map ?? {},
requestOptions: e.requestOptions,
data: e.response?.data,
data: e.response?.data??'',
);
} else {
httpResponse = VoltronHttpResponse(
Expand Down
2 changes: 1 addition & 1 deletion framework/voltron/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

name: voltron
description: A flutter plugin project to render hippy page.
version: 0.0.38
version: 0.0.40
homepage: https://hippyjs.org
repository: https://github.com/Tencent/Hippy

Expand Down

0 comments on commit 34ddd45

Please sign in to comment.