Added whitelist function
This commit is contained in:
@@ -16,7 +16,7 @@ router.post('/', async (req, res) => {
|
||||
},
|
||||
});
|
||||
|
||||
res.send({ code: minecraftCol[0].code });
|
||||
res.send({ code: minecraftCol[0].code, whitelisted: minecraftCol[0].whitelisted, username: 'Username', rawUsername: 'RawUsername' });
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
|
||||
|
Reference in New Issue
Block a user