Skip to content

Commit e747a27

Browse files
committed
update app provider
1 parent 503fc95 commit e747a27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/networking/api_provider.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ class ApiProvider {
126126
Future<dynamic> post(url, data) async {
127127
try {
128128
Response response =
129-
await _dio.post(url, data: {"data": json.encode(data)});
129+
await _dio.post(url, data: data);
130130
return response.data;
131131
} catch (error, stacktrace) {
132132
_printLog("$error stackTrace: $stacktrace");

0 commit comments

Comments
 (0)