don't return username to uuid id

This commit is contained in:
Lee 2024-04-13 17:30:08 +01:00
parent a966977d82
commit 77f787b659

@ -1,5 +1,6 @@
package cc.fascinated.model.cache; package cc.fascinated.model.cache;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter; import lombok.Getter;
import lombok.ToString; import lombok.ToString;
import org.springframework.data.annotation.Id; import org.springframework.data.annotation.Id;
@ -17,6 +18,7 @@ public final class CachedPlayerName extends CachedResponse {
/** /**
* The id of the player. * The id of the player.
*/ */
@JsonIgnore
@Id private final String id; @Id private final String id;
/** /**