remove user data from presence
you can use the account server api for this
This commit is contained in:
parent
e3b5aa1430
commit
8cf67487f5
1 changed files with 0 additions and 1 deletions
1
index.js
1
index.js
|
|
@ -72,7 +72,6 @@ app.get('/api/v1/@me', authenticateUser, async (req, res) => {
|
||||||
const queryStartTime = Date.now();
|
const queryStartTime = Date.now();
|
||||||
const { rows } = await pool.query(queryText, [userPid]);
|
const { rows } = await pool.query(queryText, [userPid]);
|
||||||
const responseData = {
|
const responseData = {
|
||||||
user: req.user,
|
|
||||||
friends: rows.map(row => ({
|
friends: rows.map(row => ({
|
||||||
pid: row.friend_pid,
|
pid: row.friend_pid,
|
||||||
since: row.friended_since,
|
since: row.friended_since,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue