Przeglądaj źródła

Send the collectionID in file creation requests

Vishnu Mohandas 4 lat temu
rodzic
commit
107c1b870e
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      lib/utils/file_uploader.dart

+ 1 - 0
lib/utils/file_uploader.dart

@@ -96,6 +96,7 @@ class FileUploader {
         Sodium.bin2base64(encryptedMetadataData.header);
         Sodium.bin2base64(encryptedMetadataData.header);
 
 
     final data = {
     final data = {
+      "collectionID": file.collectionID,
       "encryptedKey": encryptedKey,
       "encryptedKey": encryptedKey,
       "keyDecryptionNonce": keyDecryptionNonce,
       "keyDecryptionNonce": keyDecryptionNonce,
       "file": {
       "file": {