Change response for Minecraft servers
Some checks failed
Deploy App / docker (ubuntu-latest, 2.44.0, 17, 3.8.5) (push) Failing after 25s

This commit is contained in:
Braydon 2024-04-13 13:26:03 -04:00
parent d6a21fd5a3
commit 3f1290fd07

@ -24,6 +24,7 @@
package me.braydon.mc.model.cache;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonUnwrapped;
import lombok.*;
import me.braydon.mc.model.MinecraftServer;
import org.springframework.data.annotation.Id;
@ -45,7 +46,7 @@ public final class CachedMinecraftServer implements Serializable {
/**
* The cached server.
*/
@NonNull private final MinecraftServer value;
@JsonUnwrapped @NonNull private final MinecraftServer value;
/**
* The unix timestamp of when this