diff options
author | mat <27899617+mat-1@users.noreply.github.com> | 2021-02-13 14:14:50 -0600 |
---|---|---|
committer | mat <27899617+mat-1@users.noreply.github.com> | 2021-02-13 14:14:50 -0600 |
commit | f3e74e786df8e11f85ec895e0750df8ab124b475 (patch) | |
tree | 25c53f6452c0e75ad8f8c1290f70d9da8e46261f /build/cleaners/socialmedia.js | |
parent | 52e38809212133ef673d11bfa96ba3bb43c3644c (diff) | |
download | skyblock-api-f3e74e786df8e11f85ec895e0750df8ab124b475.tar.gz skyblock-api-f3e74e786df8e11f85ec895e0750df8ab124b475.tar.bz2 skyblock-api-f3e74e786df8e11f85ec895e0750df8ab124b475.zip |
add compiled code in build folder
Diffstat (limited to 'build/cleaners/socialmedia.js')
-rw-r--r-- | build/cleaners/socialmedia.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/build/cleaners/socialmedia.js b/build/cleaners/socialmedia.js new file mode 100644 index 0000000..fb0bcfd --- /dev/null +++ b/build/cleaners/socialmedia.js @@ -0,0 +1,10 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.parseSocialMedia = void 0; +function parseSocialMedia(socialMedia) { + return { + discord: socialMedia?.links?.DISCORD || null, + forums: socialMedia?.links?.HYPIXEL || null + }; +} +exports.parseSocialMedia = parseSocialMedia; |