1
0
Fork 1
mirror of https://gitlab.com/mangadex-pub/mangadex_at_home.git synced 2024-01-19 02:48:37 +00:00

Fix statistics serializing bug

This commit is contained in:
carbotaniuman 2020-06-19 15:28:27 -05:00
parent a270cf9115
commit 5e407a9e81

View file

@ -216,7 +216,7 @@ public class MangaDexClient {
DiskLruCache.Editor editor = cache.edit("statistics");
if (editor != null) {
JACKSON.writeValue(editor.newOutputStream(0), Statistics.class);
JACKSON.writeValue(editor.newOutputStream(0), statistics.get());
editor.commit();
}
}