From 31f837d353fa2df5ea8f657144aa406351a3c3d9 Mon Sep 17 00:00:00 2001 From: chimpdev Date: Tue, 9 Apr 2024 01:46:28 +0300 Subject: [PATCH] Update profile route response to include publicly safe data --- server/src/routes/profiles/[slug]/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/routes/profiles/[slug]/index.js b/server/src/routes/profiles/[slug]/index.js index 71287e4b..506e6621 100644 --- a/server/src/routes/profiles/[slug]/index.js +++ b/server/src/routes/profiles/[slug]/index.js @@ -63,7 +63,7 @@ module.exports = { }); } else Object.assign(publiclySafe, { servers: [] }); - return response.json(); + return response.json(publiclySafe); } ], patch: [