aboutsummaryrefslogtreecommitdiff
path: root/build/cleaners/skyblock/member.js
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2021-02-14 14:07:10 -0600
committermat <27899617+mat-1@users.noreply.github.com>2021-02-14 14:07:10 -0600
commiteedd4ff7a3f2816c8e0d3f037c7a1acbb5988495 (patch)
tree39a5e242c360f735e28889da22187b9471ed8dc1 /build/cleaners/skyblock/member.js
parenta12f0eaf3349160282bdc9f48cf9f253a154e500 (diff)
downloadskyblock-api-eedd4ff7a3f2816c8e0d3f037c7a1acbb5988495.tar.gz
skyblock-api-eedd4ff7a3f2816c8e0d3f037c7a1acbb5988495.tar.bz2
skyblock-api-eedd4ff7a3f2816c8e0d3f037c7a1acbb5988495.zip
add collections
Diffstat (limited to 'build/cleaners/skyblock/member.js')
-rw-r--r--build/cleaners/skyblock/member.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/cleaners/skyblock/member.js b/build/cleaners/skyblock/member.js
index bf1f908..41092e1 100644
--- a/build/cleaners/skyblock/member.js
+++ b/build/cleaners/skyblock/member.js
@@ -28,6 +28,7 @@ const minions_1 = require("./minions");
const skills_1 = require("./skills");
const cached = __importStar(require("../../hypixelCached"));
const zones_1 = require("./zones");
+const collections_1 = require("./collections");
async function cleanSkyBlockProfileMemberResponseBasic(member, included = null) {
return {
uuid: member.uuid,
@@ -53,7 +54,8 @@ async function cleanSkyBlockProfileMemberResponse(member, included = null) {
inventories: inventoriesIncluded ? await inventory_1.cleanInventories(member) : undefined,
objectives: objectives_1.cleanObjectives(member),
skills: skills_1.cleanSkills(member),
- visited_zones: zones_1.cleanVisitedZones(member)
+ visited_zones: zones_1.cleanVisitedZones(member),
+ collections: collections_1.cleanCollections(member)
};
}
exports.cleanSkyBlockProfileMemberResponse = cleanSkyBlockProfileMemberResponse;