mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-03 12:40:00 +00:00
v3: $w -> splitWhitespace
This commit is contained in:
parent
25511a8e64
commit
0c20cf30d7
1 changed files with 1 additions and 1 deletions
|
|
@ -445,7 +445,7 @@ api.castSpell = {
|
|||
// Only return some fields.
|
||||
// See comment above on why we can't just select the necessary fields when querying
|
||||
partyMembersRes = partyMembersRes.map(partyMember => {
|
||||
return common.pickDeep(partyMember.toJSON(), common.splitWhitespace(partyMembersFields));
|
||||
return common.pickDeep(partyMember.toJSON(), common.$w(partyMembersFields));
|
||||
});
|
||||
|
||||
res.respond(200, {
|
||||
|
|
|
|||
Loading…
Reference in a new issue