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:
parent
a270cf9115
commit
5e407a9e81
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue