Skip to content

Commit

Permalink
[mob] Add gen id in temp file path
Browse files Browse the repository at this point in the history
  • Loading branch information
ua741 committed Sep 6, 2024
1 parent 7c2ce51 commit be1ca57
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mobile/lib/utils/file_uploader.dart
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,8 @@ class FileUploader {
: null;
bool multipartEntryExists = existingMultipartEncFileName != null;

final String uniqueID = const Uuid().v4().toString();
final String uniqueID =
'${const Uuid().v4().toString()}_${file.generatedID}';

final encryptedFilePath = multipartEntryExists
? '$tempDirectory$existingMultipartEncFileName'
Expand Down

0 comments on commit be1ca57

Please sign in to comment.