We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 503fc95 commit e747a27Copy full SHA for e747a27
lib/networking/api_provider.dart
@@ -126,7 +126,7 @@ class ApiProvider {
126
Future<dynamic> post(url, data) async {
127
try {
128
Response response =
129
- await _dio.post(url, data: {"data": json.encode(data)});
+ await _dio.post(url, data: data);
130
return response.data;
131
} catch (error, stacktrace) {
132
_printLog("$error stackTrace: $stacktrace");
0 commit comments