fetchFavoritePosts method
Implementation
Future<http.Response> fetchFavoritePosts(currentUserId, saveId) async {
return get(
Uri.parse(
'$apiURL/reports/favorite?user=$currentUserId&saveId=$saveId'),
headers: {
"token":
"cnejwi8c9wehnd8fchni2x239jxexnjx2n23i8xn3oifr0cwd32fjnrf453vreve"
});
}