Skip to content

Commit

Permalink
remove unnecessary endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
meelrossi committed Nov 8, 2023
1 parent a9647db commit 045299b
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 33 deletions.
50 changes: 25 additions & 25 deletions webapp/src/config/env/dev.json
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
{
"NETWORK": "mainnet",
"CHAIN_ID": "1",
"NFT_SERVER_URL": "https://nft-api.decentraland.org/v1",
"BUILDER_SERVER_URL": "https://builder-api.decentraland.org/v1",
"ATLAS_SERVER_URL": "https://api.decentraland.org",
"PEER_URL": "https://peer.decentraland.org",
"SIGNATURES_SERVER_URL": "https://signatures-api.decentraland.org/v1",
"MARKETPLACE_FAVORITES_SERVER_URL": "https://marketplace-favorites-api.decentraland.org/v1",
"NETWORK": "sepolia",
"CHAIN_ID": "11155111",
"NFT_SERVER_URL": "https://nft-api.decentraland.zone/v1",
"BUILDER_SERVER_URL": "https://builder-api.decentraland.zone/v1",
"ATLAS_SERVER_URL": "https://api.decentraland.zone",
"PEER_URL": "https://peer-ue-2.decentraland.zone",
"SIGNATURES_SERVER_URL": "https://signatures-api.decentraland.zone/v1",
"MARKETPLACE_FAVORITES_SERVER_URL": "https://marketplace-favorites-api.decentraland.zone/v1",
"DEFAULT_FAVORITES_LIST_ID": "70ab6873-4a03-4eb2-b331-4b8be0e0b8af",
"DECENTRALAND_BLOG": "https://decentraland.org/blog",
"REFRESH_SIGNATURES_DELAY": "10000",
"TRANSACTIONS_API_URL": "https://transactions-api.decentraland.org/v1",
"TRANSAK_API_URL": "https://api.transak.com/partners/api",
"TRANSAK_KEY": "cb87de5f-add2-48a1-bab4-6a9409b811b1",
"TRANSAK_ENV": "PRODUCTION",
"TRANSACTIONS_API_URL": "https://transactions-api.decentraland.zone/v1",
"TRANSAK_API_URL": "https://api-stg.transak.com/partners/api",
"TRANSAK_KEY": "273ac855-3472-40eb-8ee8-840e317f98e6",
"TRANSAK_ENV": "STAGING",
"TRANSAK_POLLING_DELAY": "6000",
"TRANSAK_PUSHER_APP_KEY": "1d9ffac87de599c61283",
"TRANSAK_PUSHER_APP_CLUSTER": "ap2",
"MOON_PAY_API_URL": "https://api.moonpay.com",
"MOON_PAY_API_KEY": "pk_live_3PEJQj5NyvQBdit7phd48cCyzDSZFGsg",
"MOON_PAY_API_KEY": "pk_test_WVS2xVSCnSnR7A7qIueWwCtcKnrGb55p",
"MOON_PAY_POLLING_DELAY": "6000",
"MOON_PAY_WIDGET_URL": "https://buy.moonpay.io",
"BUILDER_URL": "https://builder.decentraland.org",
"MOON_PAY_WIDGET_URL": "https://buy-staging.moonpay.io",
"BUILDER_URL": "https://builder.decentraland.zone",
"COINGECKO_API_URL": "https://api.coingecko.com/api/v3",
"DOCS_URL": "https://docs.decentraland.org",
"MARKETPLACE_ADAPTER_FEE_PER_MILLION": "25000",
"MAX_PRICE_INCREASE_PERCENTAGE": "15",
"MANA_ADDRESS": "0x0f5d2fb29fb7d3cfee444a200298f468908cc942",
"CONVERTER_ADDRESS": "0x2859581da59bd4e16a866dd06b461b76d8e489a4",
"MANA_ADDRESS": "0x2a8fd99c19271f4f04b1b7b9c4f7cf264b626edb",
"CONVERTER_ADDRESS": "0x2782eb28Dcb1eF4E7632273cd4e347e130Ce4646",
"CONVERTER_EXCHANGE": "uniswap_v2",
"INTERCOM_APP_ID": "z0h94kay",
"SEGMENT_API_KEY": "WijgHCmOGJjV04XBGghZGEadMD4454R3",
"SEGMENT_API_KEY": "gMnkewUBzA6J879kAtMvp2WhohEk36uy",
"DISCORD_URL": "https://dcl.gg/discord",
"ENVIRONMENT": "production",
"ENVIRONMENT": "development",
"MIN_SALE_VALUE_IN_WEI": "1000000000000000000",
"EXPLORER_URL": "https://play.decentraland.org",
"MARKETPLACE_URL": "https://market.decentraland.org",
"PROFILE_URL": "https://profile.decentraland.org",
"SSO_URL": "https://id.decentraland.org",
"SUBGRAPH_WORKER": "https://subgraph.decentraland.org",
"EXPLORER_URL": "https://play.decentraland.zone",
"MARKETPLACE_URL": "https://market.decentraland.zone",
"PROFILE_URL": "https://profile.decentraland.zone",
"SSO_URL": "https://id.decentraland.zone",
"SUBGRAPH_WORKER": "https://subgraph.decentraland.zone",
"SENTRY_DSN": "https://1dc401149e1c819b8477565c9cdd9b70@o4504361728212992.ingest.sentry.io/4505743351676928"
}
}
2 changes: 1 addition & 1 deletion webapp/src/modules/tile/sagas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function* handleFetchTilesRequest(_action: FetchTilesRequestAction) {
try {
const response: AxiosResponse<{
data: Record<string, AtlasTile>
}> = yield call(() => atlasAPI.fetchTiles())
}> = yield call(atlasAPI.fetchTiles)
const tiles = response.data.data
const lastModified = response.headers['last-modified']
yield put(fetchTilesSuccess(tiles, new Date(lastModified)))
Expand Down
3 changes: 2 additions & 1 deletion webapp/src/modules/translation/locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -1498,6 +1498,7 @@
"explore_collectibles": "Explorar vestimentas interactivas"
},
"atlas_updated_warning": {
"info": "<strong>Los datos del mapa pueden estar desactualizados</strong>Encuentre los detalles de la LAND más recientes en la sección debajo de este mapa. Refrescar esta página puede actualizar la información. Si el problema persiste, comuníquese con nuestro equipo de soporte."
"info": "<strong>Los datos del mapa pueden estar desactualizados</strong>Encuentre los detalles de la LAND más recientes en la sección debajo de este mapa. Refrescar esta página puede actualizar la información. Si el problema persiste, comuníquese con nuestro equipo de soporte.",
"fingerprint_missmatch": "La información de esta LAND puede no estar actualizada. Actualice la página para obtener la información más reciente. Si el problema persiste, comuníquese con nuestro equipo de soporte."
}
}
3 changes: 2 additions & 1 deletion webapp/src/modules/translation/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -1503,6 +1503,7 @@
"explore_collectibles": "浏览智能可穿戴设备"
},
"atlas_updated_warning": {
"info": "<strong>地图数据可能过时</strong>Find the moST在此地图下方的部分中的最新土地详细信息。刷新此页面可能会更新信息。如果问题仍然存在,请联系我们的支持团队。"
"info": "<strong>地图数据可能过时</strong>Find the moST在此地图下方的部分中的最新土地详细信息。刷新此页面可能会更新信息。如果问题仍然存在,请联系我们的支持团队。",
"fingerprint_missmatch": "这片土地的信息可能不会更新。请刷新页面以获取最新信息。如果问题仍然存在,请联系我们的支持团队。"
}
}
5 changes: 0 additions & 5 deletions webapp/src/modules/vendor/decentraland/land/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ import { retryParams } from '../utils'
export const ATLAS_SERVER_URL = config.get('ATLAS_SERVER_URL')!
const httpRequest = axios.create({ baseURL: ATLAS_SERVER_URL })
class AtlasAPI extends BaseAPI {
fetchLastUpdatedDate = async (): Promise<Date> => {
const result: any = await this.request('get', `/v2/tiles/info`)
return new Date(result.lastUpdatedAt)
}

fetchTiles = async (): Promise<any> => httpRequest.get('/v1/tiles')
}

Expand Down

0 comments on commit 045299b

Please sign in to comment.