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:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user