dont get full object for @me
This commit is contained in:
parent
62a5250157
commit
6d142767b0
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ app.post('/token/create', [
|
||||||
});
|
});
|
||||||
|
|
||||||
app.get('/current/info', authenticateEndpoint(async (req, res, user) => {
|
app.get('/current/info', authenticateEndpoint(async (req, res, user) => {
|
||||||
const userObject = await user.getFullObject();
|
const userObject = await user.getPublicObject();
|
||||||
|
|
||||||
res.status(200).json({
|
res.status(200).json({
|
||||||
error: false,
|
error: false,
|
||||||
|
|
Reference in a new issue