Fix groups v2 patch response handler.

This commit is contained in:
Alan Evans 2020-05-20 15:29:30 -03:00 committed by Greyson Parrelli
parent 204a84c522
commit 12b1232ac0

View File

@ -1844,7 +1844,6 @@ public class PushServiceSocket {
}; };
private static final ResponseCodeHandler GROUPS_V2_PATCH_RESPONSE_HANDLER = responseCode -> { private static final ResponseCodeHandler GROUPS_V2_PATCH_RESPONSE_HANDLER = responseCode -> {
if (responseCode == 400) throw new GroupPatchNotAcceptedException(); if (responseCode == 400) throw new GroupPatchNotAcceptedException();
if (responseCode == 403) throw new NotInGroupException();
}; };
public void putNewGroupsV2Group(Group group, GroupsV2AuthorizationString authorization) public void putNewGroupsV2Group(Group group, GroupsV2AuthorizationString authorization)