Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
stjanilofts committed Oct 17, 2024
1 parent d550bda commit 28005d6
Showing 1 changed file with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,15 @@ export class DrivingLicenseSubmissionService extends BaseTemplateApiService {
if (applicationFor === 'B-full-renewal-65') {
return this.drivingLicenseService.renewDrivingLicense65AndOver(
auth.authorization.replace('Bearer ', ''),
pickup
? {
pickupPlasticAtDistrict: pickup === Pickup.DISTRICT,
sendPlasticToPerson: pickup === Pickup.POST,
}
: {},
{
...(jurisdictionId && { districtId: jurisdictionId as number }),
...(pickup
? {
pickupPlasticAtDistrict: pickup === Pickup.DISTRICT,
sendPlasticToPerson: pickup === Pickup.POST,
}
: {}),
},
)
} else if (applicationFor === 'B-full') {
return this.drivingLicenseService.newDrivingLicense(nationalId, {
Expand Down

0 comments on commit 28005d6

Please sign in to comment.