fix: remove unused code

* Update version to 2025.0.3, and remove unused code
* Upgrade chai to 5.3.1
* Streamline HTTP request method usage
This commit is contained in:
2025-08-18 19:04:03 -04:00
parent 06f71c60dd
commit 6ef0b5cf38
5 changed files with 7 additions and 15 deletions

View File

@@ -104,11 +104,7 @@ export class Reporting {
const requestPublishingOptions = {
body: JSON.stringify({publishingReport: publishingReportOptions})
};
const response = await this._httpRequests.request<PublishingReportResponse>(
HttpMethod.PUT,
'/pcast/reporting/publishing',
requestPublishingOptions
);
const response = await this._httpRequests.request<PublishingReportResponse>(HttpMethod.PUT, '/pcast/reporting/publishing', requestPublishingOptions);
if (!response.publishingReport) {
throw new Error('[Reporting] [requestPublishingReport] Invalid response format - missing publishingReport data');