25-2/24/1
This commit is contained in:
@@ -419,9 +419,10 @@ class ImageController extends GetxController {
|
||||
await uploadImage(
|
||||
compressedImage,
|
||||
{
|
||||
'driverID':
|
||||
encryptionHelper.decryptData(box.read(BoxName.driverID)) ??
|
||||
encryptionHelper.decryptData(box.read(BoxName.passengerID)),
|
||||
'driverID': EncryptionHelper.instance
|
||||
.decryptData(box.read(BoxName.driverID)) ??
|
||||
EncryptionHelper.instance
|
||||
.decryptData(box.read(BoxName.passengerID)),
|
||||
'imageType': imageType
|
||||
},
|
||||
link,
|
||||
@@ -461,7 +462,7 @@ class ImageController extends GetxController {
|
||||
stream,
|
||||
length,
|
||||
filename:
|
||||
'${encryptionHelper.decryptData(box.read(BoxName.driverID))}.jpg',
|
||||
'${EncryptionHelper.instance.decryptData(box.read(BoxName.driverID))}.jpg',
|
||||
),
|
||||
);
|
||||
data.forEach((key, value) {
|
||||
|
||||
Reference in New Issue
Block a user