Skip to content

Commit 16623b8

Browse files
committed
Only send the required args
1 parent 06fa3ff commit 16623b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/webapp/app/presenters/v3/RunStreamPresenter.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export class RunStreamPresenter {
5353
const throttledSend = throttle(
5454
(args: { send: SendFunction; event?: string; data: string }) => {
5555
try {
56-
args.send(args);
56+
args.send({ event: args.event, data: args.data });
5757
} catch (error) {
5858
if (error instanceof Error) {
5959
if (error.name !== "TypeError") {

0 commit comments

Comments
 (0)