Skip to content

Commit

Permalink
fixed minor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Vishwas1 committed Jul 5, 2024
1 parent 1e27f54 commit c7e3680
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/app-auth/services/app-auth.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,11 @@ export class AppAuthService {
payload['issuerDid'] = appDetail.issuerDid;
}

if (appDetail.dependentServices && appDetail.dependentServices.length > 0) {
if (
appDetail.dependentServices &&
appDetail.dependentServices.length > 0 &&
appDetail.dependentServices[0]
) {
payload['dependentServices'] = appDetail.dependentServices;
}

Expand Down

0 comments on commit c7e3680

Please sign in to comment.