Skip to content

Commit

Permalink
fix: only show first three hubs in messages
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKevinOConnell committed Jun 28, 2024
1 parent 4b4c958 commit bf6fd89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ async function getNeynarHubInfo() {
}

export async function getHubsInfo() {
const promises = hubs.map(async (hub: any) => {
const promises = hubs.slice(0, 3).map(async (hub: any) => {
if (hub.shortname === 'Neynar hub') return await getNeynarHubInfo();
const url = `${hub.url}/v1/info?dbstats=1`;

Expand Down

0 comments on commit bf6fd89

Please sign in to comment.