Skip to content

Commit

Permalink
fix: fix event handler url
Browse files Browse the repository at this point in the history
  • Loading branch information
jiyoung-an committed May 7, 2024
1 parent 50d010f commit 6436d46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { appBillingConfig } from "./types/type"

export const getBlockChainAPIEndpoint = (chainId: number) =>{
export const getBlockChainAPIEndpoint = (chainId: number) => {
return chainId === 1 ? "https://mainnet-api.ainetwork.ai" : "https://testnet-api.ainetwork.ai"
}

export const getBlockChainEventEndpoint = (chainId: number) =>{
return chainId === 1 ? "https://mainnet-event.ainetwork.ai" : "https://testnet-event.ainetwork.ai"
export const getBlockChainEventEndpoint = (chainId: number) => {
return chainId === 1 ? "wss://mainnet-event.ainetwork.ai" : "wss://testnet-event.ainetwork.ai"
}

export const Path = {
Expand Down

0 comments on commit 6436d46

Please sign in to comment.