diff options
author | mat-1 <github@matdoes.dev> | 2021-03-01 19:40:35 +0000 |
---|---|---|
committer | mat-1 <github@matdoes.dev> | 2021-03-01 19:40:35 +0000 |
commit | 80fbc300471e138172f4527106cc2a6365894cd5 (patch) | |
tree | b25c455f5fd418b0843d73191a2d47d2a069695e /build/cleaners/player.js | |
parent | 7786408cc11fdf752fd03339a59a6d7d717d547d (diff) | |
download | skyblock-api-80fbc300471e138172f4527106cc2a6365894cd5.tar.gz skyblock-api-80fbc300471e138172f4527106cc2a6365894cd5.tar.bz2 skyblock-api-80fbc300471e138172f4527106cc2a6365894cd5.zip |
Compiled TS into JS
Diffstat (limited to 'build/cleaners/player.js')
-rw-r--r-- | build/cleaners/player.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build/cleaners/player.js b/build/cleaners/player.js index a767d7e..4957e7a 100644 --- a/build/cleaners/player.js +++ b/build/cleaners/player.js @@ -8,6 +8,8 @@ const util_1 = require("../util"); async function cleanPlayerResponse(data) { var _a, _b; // Cleans up a 'player' api response + if (!data) + return; // bruh return { uuid: util_1.undashUuid(data.uuid), username: data.displayname, |