From b97c45fd8a97d347a57b21954b5eb1ff98c8ba45 Mon Sep 17 00:00:00 2001 From: Atharva Date: Sat, 13 Jul 2024 19:36:39 +0530 Subject: [PATCH] idcardurl2 rules fixed in firebase and changes done in code --- lib/provider/concession_provider.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/provider/concession_provider.dart b/lib/provider/concession_provider.dart index 13cb13bf..97b1878e 100644 --- a/lib/provider/concession_provider.dart +++ b/lib/provider/concession_provider.dart @@ -37,7 +37,7 @@ class ConcessionProvider extends StateNotifier { super(""); Future applyConcession(ConcessionDetailsModel concessionDetails, - File idCardPhoto,File idCardPhoto2, File previousPassPhoto, BuildContext context) async { + File idCardPhoto,File idCardPhotoTemp2, File previousPassPhoto, BuildContext context) async { // concessionDetails.status = ConcessionStatus.unserviced; // concessionDetails.statusMessage = // await _concessionService.getWaitingMessage(); @@ -55,7 +55,7 @@ class ConcessionProvider extends StateNotifier { concessionDetailsData.idCardURL = await _concessionService.uploadPhoto(idCardPhoto, "idCard"); final idCardURL2 = - await _concessionService.uploadPhoto(idCardPhoto2, "idCard"); + await _concessionService.uploadPhoto(idCardPhotoTemp2, "idCard2"); concessionDetailsData.previousPassURL = await _concessionService.uploadPhoto(previousPassPhoto, "prevpass"); await _concessionService.applyConcession(concessionDetailsData,idCardURL2);