API: don't return the lastUpdate field
Some checks failed
Deploy API / docker (17, 3.8.5) (push) Failing after 37s

This commit is contained in:
Lee 2024-08-01 16:30:12 +01:00
parent 871ae76a23
commit 20576d913f

View File

@ -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;
/**