Test fix readJson in websocket

This commit is contained in:
jeffcheasey88 2023-09-23 11:49:42 +02:00
parent 798702f677
commit abb46f0915
2 changed files with 1 additions and 4 deletions

Binary file not shown.

View file

@ -37,10 +37,7 @@ public class DynamicLogs implements Response{
PeerAtUser user = this.router.getUser(auth.get("token")); PeerAtUser user = this.router.getUser(auth.get("token"));
Group group = this.repo.getPlayerGroup(user.getId(), 1); Group group = this.repo.getPlayerGroup(user.getId(), 1);
if(!group.getName().equalsIgnoreCase("Quarter-Master - Battles PAC x CEI")){ if(!group.getName().equalsIgnoreCase("Quarter-Master - Battles PAC x CEI")) return;
context.response(423);
return;
}
Key key = new Key(); Key key = new Key();