mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
lint.
This commit is contained in:
+4
-6
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user