diff --git a/frontend/src/app/apps/[id]/page.tsx b/frontend/src/app/apps/[id]/page.tsx index 80e605f41..5aef9ece2 100644 --- a/frontend/src/app/apps/[id]/page.tsx +++ b/frontend/src/app/apps/[id]/page.tsx @@ -30,7 +30,7 @@ const COST_CONSTANT = 0.05; export default async function PluginDetailView({ params }: { params: { id: string } }) { // const [darkMode, setDarkMode] = useState(false); - var response = await fetch(`${envConfig.API_URL}/plugins?uid=s5rl6e7nk8cc9rn2`); + var response = await fetch(`${envConfig.API_URL}/v1/approved-apps?include_reviews=true`); const plugins = (await response.json()) as Plugin[]; // Get params in a server component @@ -60,7 +60,7 @@ export default async function PluginDetailView({ params }: { params: { id: strin
Back to Apps @@ -84,7 +84,7 @@ export default async function PluginDetailView({ params }: { params: { id: strin
{plugin.name} @@ -111,7 +111,7 @@ export default async function PluginDetailView({ params }: { params: { id: strin
- ${stat.money} + ${stat == undefined ? 0 : stat.money} Total Earned
diff --git a/frontend/src/app/apps/page.tsx b/frontend/src/app/apps/page.tsx index 169c396cf..20f51c9b0 100644 --- a/frontend/src/app/apps/page.tsx +++ b/frontend/src/app/apps/page.tsx @@ -97,7 +97,7 @@ export default async function SleekPluginList() { // document.documentElement.classList.remove('dark'); // } // }, [darkMode]); - var response = await fetch(`${envConfig.API_URL}/plugins?uid=s5rl6e7nk8cc9rn2`); + var response = await fetch(`${envConfig.API_URL}/v1/approved-apps?include_reviews=true`); const plugins = (await response.json()) as Plugin[]; @@ -111,7 +111,7 @@ export default async function SleekPluginList() { return (
-

Omi App Marketplace

+

Omi Apps Marketplace

{/*