Browse Source

Send the collectionID in file creation requests

Vishnu Mohandas 4 years ago
parent
commit
107c1b870e
1 changed files with 1 additions and 0 deletions
  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);
 
     final data = {
+      "collectionID": file.collectionID,
       "encryptedKey": encryptedKey,
       "keyDecryptionNonce": keyDecryptionNonce,
       "file": {