Skip to content

Commit c37e1ca

Browse files
author
Sunny Raj Rathod
authored
Merge pull request #130 from beccagaspard/master
Removing validation for customerProfileId in GetCustomerProfileController
2 parents d2b145a + ffd8611 commit c37e1ca

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/net/authorize/api/controller/GetCustomerProfileController.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ protected void validateRequest() {
1616
GetCustomerProfileRequest request = this.getApiRequest();
1717

1818
//validate required fields
19-
if ( null == request.getCustomerProfileId()) throw new NullPointerException("CustomerProfileId cannot be null");
20-
19+
2120
//validate not-required fields
2221
//creditCardOne.setCardCode("");
2322
}

0 commit comments

Comments
 (0)