Skip to content

Commit

Permalink
chore: use lpac.NewCmder directly
Browse files Browse the repository at this point in the history
  • Loading branch information
damonto committed May 9, 2024
1 parent df319e2 commit c49542f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/cloud/download.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ func downloadProfile(ctx context.Context, conn *Conn, data []byte) error {
}
}

cmder := lpac.NewCmder(ctx, conn.APDU)
return cmder.ProfileDownload(lpac.ActivationCode{
return lpac.NewCmder(ctx, conn.APDU).ProfileDownload(lpac.ActivationCode{
SMDP: string(parts[1]),
MatchingId: matchingId,
ConfirmationCode: confirmationCode,
Expand Down

0 comments on commit c49542f

Please sign in to comment.