Skip to content

Commit

Permalink
dev(mobile): Replace apps endpoint to test
Browse files Browse the repository at this point in the history
  • Loading branch information
voloshinskii committed Jan 18, 2024
1 parent 324b356 commit 15462b7
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions packages/mobile/src/store/zustand/appsList/useAppsListStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,15 @@ export const useAppsListStore = create(
fetchPopularApps: async () => {
set({ fetching: true });
try {
const response = await axios.get(`${getServerConfig('tonkeeperEndpoint')}/apps/popular`, {
params: {
lang: i18n.locale,
build: DeviceInfo.getReadableVersion(),
}
});
const response = await axios.get(
`https://dev.tonapi.io/tonendpoint/apps/popular`,
{
params: {
lang: i18n.locale,
build: DeviceInfo.getReadableVersion(),
},
},
);

const { categories, moreEnabled, moreUrl } = response.data.data as {
categories: IAppCategory[];
Expand Down

0 comments on commit 15462b7

Please sign in to comment.