updatePostReport method

Future<Response> updatePostReport({
  1. required int? postId,
})

Implementation

Future<http.Response> updatePostReport({required int? postId}) {
  return put(Uri.parse('$apiURL/posts/reports?post=$postId'), headers: {
    "token":
        "cnejwi8c9wehnd8fchni2x239jxexnjx2n23i8xn3oifr0cwd32fjnrf453vreve",
    "content-type": 'application/json',
  });
}