Skip to content

Commit

Permalink
Merge pull request #199 from atharva-khewle/main
Browse files Browse the repository at this point in the history
idcardurl2 firebase rules
  • Loading branch information
atharva-khewle authored Jul 13, 2024
2 parents 3e2d248 + 51ed582 commit 9e3ee2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/provider/concession_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ConcessionProvider extends StateNotifier<String> {
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();
Expand All @@ -55,7 +55,7 @@ class ConcessionProvider extends StateNotifier<String> {
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);
Expand Down

0 comments on commit 9e3ee2d

Please sign in to comment.