diff options
Diffstat (limited to 'build/cleaners/socialmedia.js')
-rw-r--r-- | build/cleaners/socialmedia.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build/cleaners/socialmedia.js b/build/cleaners/socialmedia.js index fb0bcfd..84ebfd5 100644 --- a/build/cleaners/socialmedia.js +++ b/build/cleaners/socialmedia.js @@ -2,9 +2,10 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.parseSocialMedia = void 0; function parseSocialMedia(socialMedia) { + var _a, _b; return { - discord: socialMedia?.links?.DISCORD || null, - forums: socialMedia?.links?.HYPIXEL || null + discord: ((_a = socialMedia === null || socialMedia === void 0 ? void 0 : socialMedia.links) === null || _a === void 0 ? void 0 : _a.DISCORD) || null, + forums: ((_b = socialMedia === null || socialMedia === void 0 ? void 0 : socialMedia.links) === null || _b === void 0 ? void 0 : _b.HYPIXEL) || null }; } exports.parseSocialMedia = parseSocialMedia; |