mirror of
https://github.com/NekoX-Dev/NekoX.git
synced 2024-12-13 12:11:13 +01:00
Fix translate crash
This commit is contained in:
parent
3c8ea5d10b
commit
34cc2b6e91
@ -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"));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user