( id: string, requestMethod: typeof gqlClient.request, )
| 260 | `; |
| 261 | |
| 262 | export const deleteComment = ( |
| 263 | id: string, |
| 264 | requestMethod: typeof gqlClient.request, |
| 265 | ): Promise<EmptyResponse> => { |
| 266 | return requestMethod(DELETE_COMMENT_MUTATION, { |
| 267 | id, |
| 268 | }); |
| 269 | }; |
| 270 | |
| 271 | export const COMMENT_BY_ID_QUERY = gql` |
| 272 | query Comment($id: ID!) { |
no outgoing calls
no test coverage detected