mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-05 23:50:08 +08:00
Fix cache service failure caused by users named "null"
This commit is contained in:
parent
033d637dcb
commit
4e021d3b3e
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user