mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-08 17:20:11 +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 {
|
internal val JsonForCache = Json {
|
||||||
encodeDefaults = true
|
encodeDefaults = true
|
||||||
ignoreUnknownKeys = true
|
ignoreUnknownKeys = true
|
||||||
isLenient = true
|
// isLenient = true // "null" will become null and cause errors
|
||||||
prettyPrint = true
|
prettyPrint = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user