mirror of
https://github.com/foss42/apidash.git
synced 2025-05-28 04:08:39 +08:00
kEncoder -> kJsonEncoder
This commit is contained in:
@ -138,7 +138,7 @@ String? formatBody(String? body, MediaType? mediaType) {
|
||||
try {
|
||||
if (subtype.contains(kSubTypeJson)) {
|
||||
final tmp = jsonDecode(body);
|
||||
String result = kEncoder.convert(tmp);
|
||||
String result = kJsonEncoder.convert(tmp);
|
||||
return result;
|
||||
}
|
||||
if (subtype.contains(kSubTypeXml)) {
|
||||
|
Reference in New Issue
Block a user