Skip to content

Commit

Permalink
Fix: acknowledge whitelist with lowercase name
Browse files Browse the repository at this point in the history
  • Loading branch information
Gegy committed Nov 3, 2023
1 parent ef40cd5 commit 1dcbe56
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public List<WhitelistEvent> getUnprocessedEvents() {

public void ackWhitelist(final String name, final WhitelistEvent.Type type) {
try {
requests.post("players/ack/" + type.name() + "/" + URLEncoder.encode(name, StandardCharsets.US_ASCII))
requests.post("players/ack/" + type.getSerializedName() + "/" + URLEncoder.encode(name, StandardCharsets.US_ASCII))
.orThrow();
} catch (final Exception e) {
e.printStackTrace();
Expand Down

0 comments on commit 1dcbe56

Please sign in to comment.