1
0
Fork 0
mirror of synced 2024-06-28 03:01:15 +12:00

Updated SDK

This commit is contained in:
Eldad Fux 2020-04-11 15:35:23 +03:00
parent 53825f6b0a
commit cefcc296be
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
import 'dart:io';
import 'package:appwrite/appwrite.dart';
//const fs = require('fs');
// Init SDK
Client client = Client();

View file

@ -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) {