@tryvital/vital-node 2.1.15 → 2.1.16
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.
- package/client/LabTests.ts +1 -1
- package/dist/client/LabTests.js +1 -1
- package/package.json +1 -1
package/client/LabTests.ts
CHANGED
@@ -178,7 +178,7 @@ export class ResultsApi {
|
|
178
178
|
// such as whether the area is served by our Phlebotomy network.
|
179
179
|
public async getAreaInfo(zip_code: string): Promise<AreaInfo> {
|
180
180
|
const resp = await this.client.get(
|
181
|
-
this.baseURL.concat('/area/info?') +
|
181
|
+
this.baseURL.concat('/order/area/info?') +
|
182
182
|
new URLSearchParams({ zip_code: zip_code })
|
183
183
|
);
|
184
184
|
return resp.data;
|
package/dist/client/LabTests.js
CHANGED
@@ -250,7 +250,7 @@ var ResultsApi = /** @class */ (function () {
|
|
250
250
|
var resp;
|
251
251
|
return __generator(this, function (_a) {
|
252
252
|
switch (_a.label) {
|
253
|
-
case 0: return [4 /*yield*/, this.client.get(this.baseURL.concat('/area/info?') +
|
253
|
+
case 0: return [4 /*yield*/, this.client.get(this.baseURL.concat('/order/area/info?') +
|
254
254
|
new URLSearchParams({ zip_code: zip_code }))];
|
255
255
|
case 1:
|
256
256
|
resp = _a.sent();
|