Fix cast to long in MongoStorage

This commit is contained in:
Luck committed 2021-12-04 10:41:12 +00:00
1 parent f35a9b6a09
commit 9c0874162b
1 file changed
+1 -1
@@ -667,7 +667,7 @@ public class MongoStorage implements StorageImplementation {
}
if (document.containsKey("expiry")) {
builder.expiry(document.getLong("expiry"));
builder.expiry((long) document.get("expiry"));
}
if (document.containsKey("context") && document.get("context") instanceof List) {