1
0
mirror of https://github.com/NekoX-Dev/NekoX.git synced 2024-12-12 13:19:52 +01:00

Fix translate crash

This commit is contained in:
arm64v8a 2021-11-18 19:37:29 +08:00
parent 3c8ea5d10b
commit 34cc2b6e91

View File

@ -30,7 +30,7 @@ public class ChatLanguage implements Mappable {
}
@Override public void read(NitriteMapper mapper, Document document) {
chatId = ((int) document.get("chatId"));
chatId = ((long) document.get("chatId"));
language = ((String) document.get("language"));
}