@tryvital/vital-node 2.1.13 → 2.1.14

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.
@@ -62,7 +62,7 @@ export class OrdersApi {
62
62
  patient_details: patient_details,
63
63
  patient_address: patient_address,
64
64
  physician: physician ? physician : null,
65
- consents: consents ? consents : null,
65
+ consents: consents ? consents : [],
66
66
  }
67
67
  );
68
68
  return resp.data;
@@ -86,8 +86,8 @@ export class OrdersApi {
86
86
  lab_test_id: lab_test_id,
87
87
  physician: physician ? physician : null,
88
88
  health_insurance: health_insurance ? health_insurance : null,
89
- priority: priority ? priority : null,
90
- consents: consents ? consents : null,
89
+ priority: priority ? priority : false,
90
+ consents: consents ? consents : [],
91
91
  });
92
92
  return resp.data;
93
93
  }
@@ -83,7 +83,7 @@ var OrdersApi = /** @class */ (function () {
83
83
  patient_details: patient_details,
84
84
  patient_address: patient_address,
85
85
  physician: physician ? physician : null,
86
- consents: consents ? consents : null,
86
+ consents: consents ? consents : [],
87
87
  })];
88
88
  case 1:
89
89
  resp = _a.sent();
@@ -105,8 +105,8 @@ var OrdersApi = /** @class */ (function () {
105
105
  lab_test_id: lab_test_id,
106
106
  physician: physician ? physician : null,
107
107
  health_insurance: health_insurance ? health_insurance : null,
108
- priority: priority ? priority : null,
109
- consents: consents ? consents : null,
108
+ priority: priority ? priority : false,
109
+ consents: consents ? consents : [],
110
110
  })];
111
111
  case 1:
112
112
  resp = _a.sent();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryvital/vital-node",
3
- "version": "2.1.13",
3
+ "version": "2.1.14",
4
4
  "description": "Node client for Vital",
5
5
  "author": "maitham",
6
6
  "keywords": [