error resolved
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user