Skip to content

Commit 1e47689

Browse files
authored
Update parse_response_builder.dart (#390)
1 parent 80e486c commit 1e47689

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/objects/response/parse_response_builder.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,6 @@ class _ParseResponseBuilder {
151151
}
152152

153153
bool isHealthCheck(Response apiResponse) {
154-
return apiResponse.body == '{\"status\":\"ok\"}';
154+
return ['{\"status\":\"ok\"}', 'OK'].contains(apiResponse.body);
155155
}
156156
}

0 commit comments

Comments
 (0)