Skip to content

Commit

Permalink
Use main branch for plugin-stats (#1119)
Browse files Browse the repository at this point in the history
  • Loading branch information
beastoin authored Oct 21, 2024
2 parents 6d334c8 + a6c283f commit 2eb59a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/app/dashboard/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export default async function PluginDetailView({ params }: { params: { id: strin
throw new Error('App not found');
}

response = await fetch("https://raw.githubusercontent.com/BasedHardware/omi/refs/heads/payment-stuff/community-plugin-stats.json");
response = await fetch("https://raw.githubusercontent.com/BasedHardware/omi/refs/heads/main/community-plugin-stats.json");
const stats = (await response.json()) as PluginStat[];
const stat = stats.find((p) => p.id === id);

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/dashboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export default async function SleekPluginList() {

const plugins = (await response.json()) as Plugin[];

response = await fetch("https://raw.githubusercontent.com/BasedHardware/omi/refs/heads/payment-stuff/community-plugin-stats.json");
response = await fetch("https://raw.githubusercontent.com/BasedHardware/omi/refs/heads/main/community-plugin-stats.json");
const stats = (await response.json()) as PluginStat[];

// Sort plugins by downloads in descending order
Expand Down

0 comments on commit 2eb59a7

Please sign in to comment.