Updated SDK
This commit is contained in:
parent
53825f6b0a
commit
cefcc296be
|
@ -1,5 +1,5 @@
|
|||
import 'dart:io';
|
||||
import 'package:appwrite/appwrite.dart';
|
||||
//const fs = require('fs');
|
||||
|
||||
// Init SDK
|
||||
Client client = Client();
|
||||
|
|
|
@ -121,7 +121,7 @@ class Client {
|
|||
);
|
||||
|
||||
if(headers['content-type'] == 'multipart/form-data') {
|
||||
FormData data = FormData.fromMap(params);
|
||||
return http.request(path, data: FormData.fromMap(params), options: options);
|
||||
}
|
||||
|
||||
if (method == HttpMethod.get) {
|
||||
|
|
Loading…
Reference in a new issue