mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-12 02:39:17 +00:00
Update frontend/src/app/api/categories/route.ts
Co-authored-by: Håvard Gjøby Thom <34199185+havardthom@users.noreply.github.com>
This commit is contained in:
parent
9c55665ea9
commit
16657ec891
@ -12,7 +12,7 @@ const fetchCategories = async (): Category[] => {
|
|||||||
return data.categories;
|
return data.categories;
|
||||||
}
|
}
|
||||||
|
|
||||||
const fetchAllMetaDataFiles = async () => {
|
const fetchScripts = async (): Script[] => {
|
||||||
const response = await fetch(
|
const response = await fetch(
|
||||||
`https://api.github.com/repos/community-scripts/${basePath}/contents/json`,
|
`https://api.github.com/repos/community-scripts/${basePath}/contents/json`,
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user