Skip to content

Commit a195a87

Browse files
maryam4s26andersevenrud
authored andcommitted
refactor: send empty object instead of empty response for consistency
1 parent ebea296 commit a195a87

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ const init = async (core, proc) => {
169169
found.terminal.resize(cols, rows);
170170
}
171171

172-
res.send();
172+
res.send({});
173173
});
174174

175175
app.ws(proc.resource('/socket'), (ws, req) => {

0 commit comments

Comments
 (0)