dont get full object for @me

This commit is contained in:
hippoz 2020-12-08 23:32:57 +02:00
parent 62a5250157
commit 6d142767b0

View file

@ -135,7 +135,7 @@ app.post('/token/create', [
});
app.get('/current/info', authenticateEndpoint(async (req, res, user) => {
const userObject = await user.getFullObject();
const userObject = await user.getPublicObject();
res.status(200).json({
error: false,