Skip to content

Commit e688685

Browse files
Make sure we pass through the serde stack and codec when sending requests with empty payload (#583)
1 parent 620625b commit e688685

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

packages/restate-sdk-clients/src/ingress.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -521,9 +521,6 @@ function serializeBodyWithContentType(
521521
body?: Uint8Array;
522522
contentType?: string;
523523
} {
524-
if (body === undefined) {
525-
return {};
526-
}
527524
let buffer = serde.serialize(body);
528525
if (journalValueCodec) {
529526
buffer = journalValueCodec.encode(buffer);

0 commit comments

Comments
 (0)