浏览代码

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,