Skip to main content

createComment method

String createComment ()

Implementation

String createComment() \{
return """
mutation createComment(\$postId: ID!, \$text: String!) \{
createComment(postId: \$postId,
data:\{
text: \$text,
\}
)\{
_id
\}
\}
""";
\}