From 20576d913fa1ecde05d19c899802b5446a55de58 Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 1 Aug 2024 16:30:12 +0100 Subject: [PATCH] API: don't return the lastUpdate field --- .../main/java/cc/fascinated/model/user/ScoreSaberAccount.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/API/src/main/java/cc/fascinated/model/user/ScoreSaberAccount.java b/API/src/main/java/cc/fascinated/model/user/ScoreSaberAccount.java index 86c77c6..b5dba62 100644 --- a/API/src/main/java/cc/fascinated/model/user/ScoreSaberAccount.java +++ b/API/src/main/java/cc/fascinated/model/user/ScoreSaberAccount.java @@ -2,8 +2,10 @@ package cc.fascinated.model.user; import cc.fascinated.common.DateUtils; import cc.fascinated.model.token.ScoreSaberAccountToken; +import com.fasterxml.jackson.annotation.JsonIgnore; import lombok.AllArgsConstructor; import lombok.Getter; +import org.springframework.data.annotation.Transient; import java.util.Date; @@ -41,6 +43,7 @@ public class ScoreSaberAccount { /** * The date the user was last updated. */ + @JsonIgnore private Date lastUpdated; /**