diff --git a/lib/Main_Screens/Community_HomePage/PostDetailScreen/ViewModel/CommentsRepository.dart b/lib/Main_Screens/Community_HomePage/PostDetailScreen/ViewModel/CommentsRepository.dart index b9ce04a..e2c75ce 100644 --- a/lib/Main_Screens/Community_HomePage/PostDetailScreen/ViewModel/CommentsRepository.dart +++ b/lib/Main_Screens/Community_HomePage/PostDetailScreen/ViewModel/CommentsRepository.dart @@ -9,7 +9,7 @@ NestedCommentsModel? nestedComments; class CommentsRepository { Future> getAllComments(updata) async { final response = await NetworkApiServices().getApi( - "${ApiUrls.getComments}?manage_posts_xid=updata", + "${ApiUrls.getComments}?manage_posts_xid=$updata", ); if (response.status == ResponseStatus.SUCCESS) { nestedComments = NestedCommentsModel.fromJson(response.data);