mirror of
https://github.com/ivabus/gui
synced 2025-06-07 15:50:27 +03:00
#74 use categorized packages endpoint
This commit is contained in:
parent
aaad607d93
commit
06d909d85b
1 changed files with 2 additions and 2 deletions
|
@ -158,6 +158,6 @@ export async function getAllPosts(tag: string): Promise<AirtablePost[]> {
|
|||
}
|
||||
|
||||
export async function getCategorizedPackages(): Promise<Category[]> {
|
||||
const cats = await mock.getCategorizedPackages();
|
||||
return cats;
|
||||
const categories = await get<Category[]>('/packages/categorized');
|
||||
return categories;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue