error resolved

This commit is contained in:
Dakshesh42
2024-08-09 16:10:55 +05:30
parent e176553b71
commit ea5c5d1b72

View File

@@ -9,7 +9,7 @@ NestedCommentsModel? nestedComments;
class CommentsRepository {
Future<ResponseData<dynamic>> 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);