Regenerate Kenisis Video.
@@ -1614,7 +1614,7 @@ impl KinesisVideo for KinesisVideoClient {
Box::new(response.buffer().from_err().map(|response| {
let mut body = response.body;
- if body == b"null" {
+ if body == b"null" || body.is_empty() {
body = b"{}".to_vec();
}
@@ -1653,7 +1653,7 @@ impl KinesisVideo for KinesisVideoClient {
Box::new(response.buffer().from_err().map(|response| {
let mut body = response.body;
- if body == b"null" {
+ if body == b"null" || body.is_empty() {
body = b"{}".to_vec();
}
@@ -1692,7 +1692,7 @@ impl KinesisVideo for KinesisVideoClient {
Box::new(response.buffer().from_err().map(|response| {
let mut body = response.body;
- if body == b"null" {
+ if body == b"null" || body.is_empty() {
body = b"{}".to_vec();
}
@@ -1731,7 +1731,7 @@ impl KinesisVideo for KinesisVideoClient {
Box::new(response.buffer().from_err().map(|response| {
let mut body = response.body;
- if body == b"null" {
+ if body == b"null" || body.is_empty() {
body = b"{}".to_vec();
}
@@ -1770,7 +1770,7 @@ impl KinesisVideo for KinesisVideoClient {
Box::new(response.buffer().from_err().map(|response| {
let mut body = response.body;
- if body == b"null" {
+ if body == b"null" || body.is_empty() {
body = b"{}".to_vec();
}
@@ -1809,7 +1809,7 @@ impl KinesisVideo for KinesisVideoClient {
Box::new(response.buffer().from_err().map(|response| {
let mut body = response.body;
- if body == b"null" {
+ if body == b"null" || body.is_empty() {
body = b"{}".to_vec();
}
@@ -1845,7 +1845,7 @@ impl KinesisVideo for KinesisVideoClient {
Box::new(response.buffer().from_err().map(|response| {
let mut body = response.body;
- if body == b"null" {
+ if body == b"null" || body.is_empty() {
body = b"{}".to_vec();
}
@@ -1884,7 +1884,7 @@ impl KinesisVideo for KinesisVideoClient {
Box::new(response.buffer().from_err().map(|response| {
let mut body = response.body;
- if body == b"null" {
+ if body == b"null" || body.is_empty() {
body = b"{}".to_vec();
}
@@ -1923,7 +1923,7 @@ impl KinesisVideo for KinesisVideoClient {
Box::new(response.buffer().from_err().map(|response| {
let mut body = response.body;
- if body == b"null" {
+ if body == b"null" || body.is_empty() {
body = b"{}".to_vec();
}
@@ -1962,7 +1962,7 @@ impl KinesisVideo for KinesisVideoClient {
Box::new(response.buffer().from_err().map(|response| {
let mut body = response.body;
- if body == b"null" {
+ if body == b"null" || body.is_empty() {
body = b"{}".to_vec();
}
