Skip to content

Commit e67f9ad

Browse files
committed
chore(core): bump version to 0.1.62 and update reply logic
- Updated package version to 0.1.62 in package.json. - Modified reply.ts to improve response handling by removing unnecessary send call when no data is present.
1 parent bfb2ee6 commit e67f9ad

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/core/lib/rest/http-server/reply.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export class Reply {
4242
return res.stream(dataFromHandler.getStream());
4343
}
4444

45-
if (!dataFromHandler) return res.send();
45+
if (!dataFromHandler) return;
4646

4747
/**
4848
* Default to JSON

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@intentjs/core",
3-
"version": "0.1.61",
3+
"version": "0.1.62",
44
"description": "Core module for Intent",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)