Skip to content

Commit a60f273

Browse files
authored
Fix serialized name for api key owner (#267)
1 parent 968839b commit a60f273

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Java/src/main/java/net/hypixel/api/reply/KeyReply.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package net.hypixel.api.reply;
22

3+
import com.google.gson.annotations.SerializedName;
34
import java.util.UUID;
45

56
public class KeyReply extends AbstractReply {
@@ -18,6 +19,7 @@ public String toString() {
1819

1920
public class Key {
2021
private UUID key;
22+
@SerializedName("owner")
2123
private UUID ownerUuid;
2224
private int totalQueries;
2325
private int queriesInPastMin;

0 commit comments

Comments
 (0)