We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f5174a commit 8ce3445Copy full SHA for 8ce3445
src/gen/feeds/FeedsApi.ts
@@ -815,14 +815,18 @@ export class FeedsApi {
815
816
async deleteComment(request: {
817
id: string;
818
+ hard_delete?: boolean;
819
}): Promise<StreamResponse<DeleteCommentResponse>> {
820
+ const queryParams = {
821
+ hard_delete: request?.hard_delete,
822
+ };
823
const pathParams = {
824
id: request?.id,
825
};
826
827
const response = await this.apiClient.sendRequest<
828
StreamResponse<DeleteCommentResponse>
- >('DELETE', '/api/v2/feeds/comments/{id}', pathParams, undefined);
829
+ >('DELETE', '/api/v2/feeds/comments/{id}', pathParams, queryParams);
830
831
decoders.DeleteCommentResponse?.(response.body);
832
0 commit comments