Fix cache service failure caused by users named "null"

This commit is contained in:
Him188 2021-09-01 19:28:48 +08:00
parent 033d637dcb
commit 4e021d3b3e

View File

@ -29,7 +29,7 @@ import java.util.concurrent.ConcurrentLinkedQueue
internal val JsonForCache = Json {
encodeDefaults = true
ignoreUnknownKeys = true
isLenient = true
// isLenient = true // "null" will become null and cause errors
prettyPrint = true
}