This commit is contained in:
Darshan
2025-08-20 13:29:59 +05:30
parent 58c6ec18d4
commit adcb339316
@@ -8,12 +8,10 @@ export const load: PageLoad = async ({ params }) => {
? params.period
: UsageRange.ThirtyDays;
const response = (await sdk
.forProject(params.region, params.project)
.storage.getBucketUsage({
bucketId: params.bucket,
range: period
}));
const response = await sdk.forProject(params.region, params.project).storage.getBucketUsage({
bucketId: params.bucket,
range: period
});
return {
filesTotal: response.filesTotal,