Skip to content

Commit f868f2a

Browse files
authored
Merge pull request #424 from danthe1st/fix-json
Added missing spring annotation
2 parents 7da14d1 + ceb2f54 commit f868f2a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/java/net/javadiscord/javabot/systems/help/model/HelpAccount.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
import org.jetbrains.annotations.NotNull;
1010
import org.jetbrains.annotations.Nullable;
1111

12+
import com.fasterxml.jackson.annotation.JsonIgnore;
13+
1214
import java.util.Comparator;
1315
import java.util.Map;
1416
import java.util.Optional;
@@ -19,6 +21,7 @@
1921
@Data
2022
@RequiredArgsConstructor
2123
public class HelpAccount {
24+
@JsonIgnore
2225
private final BotConfig botConfig;
2326
private long userId;
2427
private double experience;

0 commit comments

Comments
 (0)