Fixed an accidental bug in empty responses

This commit is contained in:
2023-08-08 10:50:06 -06:00
parent bf03914e63
commit d132068152
+5 -5
View File
@@ -254,7 +254,7 @@ impl<'a> Network<'a> {
.await;
self
.handle_request::<MovieCommandBody, ()>(request_props, |_, _| ())
.handle_request::<MovieCommandBody, Value>(request_props, |_, _| ())
.await;
}
@@ -275,7 +275,7 @@ impl<'a> Network<'a> {
.await;
self
.handle_request::<MovieCommandBody, ()>(request_props, |_, _| ())
.handle_request::<MovieCommandBody, Value>(request_props, |_, _| ())
.await;
}
@@ -295,7 +295,7 @@ impl<'a> Network<'a> {
.await;
self
.handle_request::<MovieCommandBody, ()>(request_props, |_, _| ())
.handle_request::<MovieCommandBody, Value>(request_props, |_, _| ())
.await;
}
@@ -314,7 +314,7 @@ impl<'a> Network<'a> {
.await;
self
.handle_request::<CommandBody, ()>(request_props, |_, _| ())
.handle_request::<CommandBody, Value>(request_props, |_, _| ())
.await;
}
@@ -333,7 +333,7 @@ impl<'a> Network<'a> {
.await;
self
.handle_request::<CommandBody, ()>(request_props, |_, _| ())
.handle_request::<CommandBody, Value>(request_props, |_, _| ())
.await;
}