Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
fix: popular page
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiejaoude committed Oct 18, 2022
1 parent 2e8253d commit 6e4ef63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/api/users/popular.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default async function handler(req, res) {
};
}

return user;
return { ...user, username: profile.username };
});

res.status(200).json(profiles);
Expand Down

0 comments on commit 6e4ef63

Please sign in to comment.