Skip to content

Commit 2a5367b

Browse files
committed
Audit adjustment
1 parent 7cd44ce commit 2a5367b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/main/java/com/pubnub/api/endpoints/access

‎src/main/java/com/pubnub/api/endpoints/access/Audit.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ protected void validateParams() throws PubNubException {
4848
throw PubNubException.builder().pubnubError(PubNubError.PNERROBJ_PUBLISH_KEY_MISSING).build();
4949
}
5050
if (channel == null && channelGroup == null) {
51-
throw PubNubException.builder().pubnubError(PubNubError.PNERROBJ_CHANNEL_MISSING).build();
51+
throw PubNubException.builder().pubnubError(PubNubError.PNERROBJ_CHANNEL_AND_GROUP_MISSING).build();
5252
}
5353
}
5454

0 commit comments

Comments
 (0)