From ea5c5d1b7293ce9db780367319052343c07002ad Mon Sep 17 00:00:00 2001 From: Dakshesh42 Date: Fri, 9 Aug 2024 16:10:55 +0530 Subject: [PATCH] error resolved --- .../PostDetailScreen/ViewModel/CommentsRepository.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);