Skip to content

Commit

Permalink
Update profile route response to include publicly safe data
Browse files Browse the repository at this point in the history
  • Loading branch information
chimpdev committed Apr 8, 2024
1 parent 7f40af5 commit 31f837d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/routes/profiles/[slug]/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ module.exports = {
});
} else Object.assign(publiclySafe, { servers: [] });

return response.json();
return response.json(publiclySafe);
}
],
patch: [
Expand Down

0 comments on commit 31f837d

Please sign in to comment.