소스 검색

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,