xshell 1.0.103 → 1.0.104

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xshell",
3
- "version": "1.0.103",
3
+ "version": "1.0.104",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "bin": {
package/server.js CHANGED
@@ -472,7 +472,7 @@ export class Server {
472
472
  response.status = response_.status;
473
473
  response.set(Server.filter_response_headers(response_.headers));
474
474
  if (response_.body)
475
- response.body = path_url.toString().includes('question/create') ? await stream_to_buffer(response_.body) : response_.body;
475
+ response.body = await stream_to_buffer(response_.body);
476
476
  }
477
477
  catch (error) {
478
478
  if (error.response?.status !== 404)