mirror of
https://github.com/foss42/apidash.git
synced 2025-12-02 10:49:49 +08:00
format
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user