mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Updated SDK
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user