From 6d142767b0dc2331b0508ea736f3b3233e0461bf Mon Sep 17 00:00:00 2001 From: hippoz Date: Tue, 8 Dec 2020 23:32:57 +0200 Subject: [PATCH] dont get full object for @me --- api/v1/users.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v1/users.js b/api/v1/users.js index 08f345c..7155e1a 100755 --- a/api/v1/users.js +++ b/api/v1/users.js @@ -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,