ソースを参照

switch to put

Neeraj Gupta 3 年 前
コミット
0ac8b87c97
1 ファイル変更1 行追加1 行削除
  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,