( id: string, requestMethod: typeof gqlClient.request, )
| 228 | `; |
| 229 | |
| 230 | export const deleteComment = ( |
| 231 | id: string, |
| 232 | requestMethod: typeof gqlClient.request, |
| 233 | ): Promise<EmptyResponse> => { |
| 234 | return requestMethod(DELETE_COMMENT_MUTATION, { |
| 235 | id, |
| 236 | }); |
| 237 | }; |
| 238 | |
| 239 | export const COMMENT_BY_ID_QUERY = gql` |
| 240 | query Comment($id: ID!) { |
no test coverage detected