Add 'fields' on method characters
This commit is contained in:
parent
6add83075c
commit
0b4c2cc7b8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user