This commit is contained in:
Ankit Mahato
2025-06-29 06:16:45 +05:30
parent 028d8c9ce6
commit 9edd43b298
4 changed files with 13 additions and 14 deletions

View File

@@ -3,9 +3,7 @@ import '../models/models.dart';
String? getGraphQLBody(HttpRequestModel httpRequestModel) {
if (httpRequestModel.hasQuery) {
return kJsonEncoder.convert({
"query": httpRequestModel.query,
});
return kJsonEncoder.convert({"query": httpRequestModel.query});
}
return null;
}