import type { Comment } from '@entities' import type { HttpClient } from '@services' import type { ApiError, Response } from '@types' export type DeleteCommentInput = { contractId: string commentId: string } const deleteComment = (http: HttpClient) => ({ query: ( input: DeleteCommentInput, ): Promise> => { return http.delete( `v3/admin/contracts/${input.contractId}/comments/${input.commentId}`, ) }, }) export default deleteComment