(postId)
| 83 | contentId: contentId.toString() |
| 84 | }; |
| 85 | |
| 86 | await requestSuccessfulMutation(TOGGLE_LIKE_API, requestBody, 'toggling content like'); |
| 87 | } |
| 88 | |
| 89 | /** |
| 90 | * Remove a post or a comment. |
| 91 | */ |
| 92 | export async function removeContent(contentId) { |
| 93 | const requestBody = { |
| 94 | contentId: contentId.toString() |
| 95 | }; |