Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abrzezinski94 committed Mar 14, 2024
1 parent 5d235ce commit 836fc76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis/mngo/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { MANGO_DATA_API_URL } from 'utils/constants'
export const fetchTokenStatsData = async (group: Group, mint?: PublicKey) => {
let url = `${MANGO_DATA_API_URL}/token-historical-stats?mango-group=${group?.publicKey.toString()}`
if (mint) {
url = `${url}&mint=${mint!.toBase58()}`
url = `${url}&mint=${mint.toBase58()}`
}
const response = await fetch(url)
if (!response.ok) {
Expand Down

0 comments on commit 836fc76

Please sign in to comment.