mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
update 3box url (#298)
This commit is contained in:
parent
960c5b3234
commit
072a4475eb
@ -4,7 +4,7 @@ import jwtDecode from 'jwt-decode'
|
||||
import { Logger } from '@oceanprotocol/lib'
|
||||
|
||||
// https://docs.3box.io/api/rest-api
|
||||
const apiUri = 'https://market-stats.oceanprotocol.com/api'
|
||||
const apiUri = 'https://3box.oceanprotocol.com'
|
||||
const ipfsUrl = 'https://ipfs.oceanprotocol.com'
|
||||
|
||||
function decodeProof(proofJWT: string) {
|
||||
@ -77,7 +77,7 @@ export default async function get3BoxProfile(
|
||||
): Promise<Profile> {
|
||||
try {
|
||||
const response: AxiosResponse<ResponseData3Box> = await axios(
|
||||
`${apiUri}/profile?address=${accountId}`,
|
||||
`${apiUri}/profile/${accountId}`,
|
||||
{ cancelToken }
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user