Skip to content

Commit

Permalink
Fixed issue stream publish method fails
Browse files Browse the repository at this point in the history
  • Loading branch information
dlozina-macrometa committed Feb 27, 2023
1 parent 07746cd commit eeb2db4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,8 @@ export class Connection {
} else {
body = String(body);
}
} else if ((path && path.includes("/streams")) === true) {
}
if ((path && path.includes("/streams")) === true) {
contentType = "application/json";
}

Expand Down

0 comments on commit eeb2db4

Please sign in to comment.