We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7071c1 commit 8c179e6Copy full SHA for 8c179e6
src/main/java/org/zendesk/client/v2/Zendesk.java
@@ -1422,8 +1422,8 @@ public JobStatus deleteOrganizations(long... ids) {
1422
}
1423
1424
public Iterable<Organization> lookupOrganizationsByExternalId(String externalId) {
1425
- if (externalId == null || externalId.length() < 2) {
1426
- throw new IllegalArgumentException("Name must be at least 2 characters long");
+ if (externalId == null) {
+ throw new IllegalArgumentException("External ID must not be null");
1427
1428
return new PagedIterable<>(
1429
tmpl("/organizations/search.json{?external_id}").set("external_id", externalId),
0 commit comments