Browse Source

switch to put

Neeraj Gupta 3 years ago
parent
commit
0ac8b87c97
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/services/collections_service.dart

+ 1 - 1
lib/services/collections_service.dart

@@ -319,7 +319,7 @@ class CollectionsService {
           header: Sodium.bin2base64(encryptedMMd.header),
         ),
       );
-      await _dio.post(
+      await _dio.put(
         Configuration.instance.getHttpEndpoint() +
             "/collections/magic-metadata",
         data: params,