Add 'fields' on method characters

This commit is contained in:
fullgream 2025-08-18 01:58:07 +03:00
parent 6add83075c
commit 0b4c2cc7b8

View File

@ -116,6 +116,7 @@ class APIMethods {
// getting characters
const user = global.authed.get(con);
const fields = req.fields.split(/\s*,\s*/g);
const result = (await user.getCharacters())
.map(character => {
return character;