mirror of
https://github.com/NebulaServices/Nebula.git
synced 2025-05-16 13:00:01 -04:00
AUGHGHG
This commit is contained in:
parent
c1b9432a2b
commit
826d37a374
1 changed files with 6 additions and 2 deletions
|
@ -16,8 +16,12 @@ catch (err: any) {
|
||||||
console.log('Error occured: ' + err);
|
console.log('Error occured: ' + err);
|
||||||
response = {};
|
response = {};
|
||||||
}
|
}
|
||||||
//console.log(new URL("/api/catalog-assets/", Astro.url));
|
console.log(new URL("/api/catalog-assets/", Astro.url));
|
||||||
const assetsJson = await response.json();
|
let assetsJson: any = {};
|
||||||
|
try {
|
||||||
|
assetsJson = await response.json();
|
||||||
|
}
|
||||||
|
catch (e) {}
|
||||||
|
|
||||||
const nextPage = parseInt(page!) + 1;
|
const nextPage = parseInt(page!) + 1;
|
||||||
const previousPage = parseInt(page!) - 1;
|
const previousPage = parseInt(page!) - 1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue