Skip to content

Commit

Permalink
fix using old write method
Browse files Browse the repository at this point in the history
  • Loading branch information
masad-frost committed May 31, 2024
1 parent d0bb07e commit 553cdd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/fixtures/services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const testServiceProcedures = TestServiceScaffold.procedures({
output: Type.Array(Type.Number()),
async handler(_, msgStream, returnStream) {
for await (const msg of msgStream) {
returnStream.push(Ok([msg.n]));
returnStream.write(Ok([msg.n]));
}
},
}),
Expand Down

0 comments on commit 553cdd5

Please sign in to comment.