diff --git a/src/routes/console/organization-[organization]/+layout.ts b/src/routes/console/organization-[organization]/+layout.ts index b843286b5..ace3842e1 100644 --- a/src/routes/console/organization-[organization]/+layout.ts +++ b/src/routes/console/organization-[organization]/+layout.ts @@ -16,6 +16,6 @@ export const load: LayoutLoad = async ({ params, depends }) => { members: sdkForConsole.teams.listMemberships(params.organization) }; } catch (e) { - throw error(e.code, e.message) + throw error(e.code, e.message); } }; diff --git a/src/routes/console/project-[project]/+layout.ts b/src/routes/console/project-[project]/+layout.ts index 256ba1ddf..e19be8f4c 100644 --- a/src/routes/console/project-[project]/+layout.ts +++ b/src/routes/console/project-[project]/+layout.ts @@ -19,6 +19,6 @@ export const load: LayoutLoad = async ({ params, depends, parent }) => { organization: await sdkForConsole.teams.get(project.teamId) }; } catch (e) { - throw error(e.code, e.message) + throw error(e.code, e.message); } }; diff --git a/src/routes/console/project-[project]/authentication/teams/team-[team]/+layout.ts b/src/routes/console/project-[project]/authentication/teams/team-[team]/+layout.ts index 84953dbfa..f7b8997b6 100644 --- a/src/routes/console/project-[project]/authentication/teams/team-[team]/+layout.ts +++ b/src/routes/console/project-[project]/authentication/teams/team-[team]/+layout.ts @@ -15,6 +15,6 @@ export const load: LayoutLoad = async ({ params, parent, depends }) => { team: await sdkForProject.teams.get(params.team) }; } catch (e) { - throw error(e.code, e.message) + throw error(e.code, e.message); } }; diff --git a/src/routes/console/project-[project]/authentication/user-[user]/+layout.ts b/src/routes/console/project-[project]/authentication/user-[user]/+layout.ts index 98da43084..2cbe498c2 100644 --- a/src/routes/console/project-[project]/authentication/user-[user]/+layout.ts +++ b/src/routes/console/project-[project]/authentication/user-[user]/+layout.ts @@ -16,6 +16,6 @@ export const load: LayoutLoad = async ({ params, parent, depends }) => { user: await sdkForProject.users.get(params.user) }; } catch (e) { - throw error(e.code, e.message) + throw error(e.code, e.message); } }; diff --git a/src/routes/console/project-[project]/databases/database-[database]/+layout.ts b/src/routes/console/project-[project]/databases/database-[database]/+layout.ts index bfd63898a..fc344a75e 100644 --- a/src/routes/console/project-[project]/databases/database-[database]/+layout.ts +++ b/src/routes/console/project-[project]/databases/database-[database]/+layout.ts @@ -16,6 +16,6 @@ export const load: LayoutLoad = async ({ params, parent, depends }) => { database: await sdkForProject.databases.get(params.database) }; } catch (e) { - throw error(e.code, e.message) + throw error(e.code, e.message); } }; diff --git a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/+layout.ts b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/+layout.ts index 8c18964aa..65447fe19 100644 --- a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/+layout.ts +++ b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/+layout.ts @@ -13,9 +13,12 @@ export const load: LayoutLoad = async ({ params, parent, depends }) => { return { header: Header, breadcrumbs: Breadcrumbs, - collection: await sdkForProject.databases.getCollection(params.database, params.collection) + collection: await sdkForProject.databases.getCollection( + params.database, + params.collection + ) }; } catch (e) { - throw error(e.code, e.message) + throw error(e.code, e.message); } }; diff --git a/src/routes/console/project-[project]/functions/function-[function]/+layout.ts b/src/routes/console/project-[project]/functions/function-[function]/+layout.ts index 71135c1c3..d91cd6300 100644 --- a/src/routes/console/project-[project]/functions/function-[function]/+layout.ts +++ b/src/routes/console/project-[project]/functions/function-[function]/+layout.ts @@ -16,6 +16,6 @@ export const load: LayoutLoad = async ({ params, parent, depends }) => { function: await sdkForProject.functions.get(params.function) }; } catch (e) { - throw error(e.code, e.message) + throw error(e.code, e.message); } }; diff --git a/src/routes/console/project-[project]/settings/webhooks/[webhook]/+layout.ts b/src/routes/console/project-[project]/settings/webhooks/[webhook]/+layout.ts index 8efde7a63..075cecf37 100644 --- a/src/routes/console/project-[project]/settings/webhooks/[webhook]/+layout.ts +++ b/src/routes/console/project-[project]/settings/webhooks/[webhook]/+layout.ts @@ -15,6 +15,6 @@ export const load: LayoutLoad = async ({ params, depends }) => { webhook: await sdkForConsole.projects.getWebhook(params.project, params.webhook) }; } catch (e) { - throw error(e.code, e.message) + throw error(e.code, e.message); } }; diff --git a/src/routes/console/project-[project]/storage/bucket-[bucket]/+layout.ts b/src/routes/console/project-[project]/storage/bucket-[bucket]/+layout.ts index 006a35ab5..556fea871 100644 --- a/src/routes/console/project-[project]/storage/bucket-[bucket]/+layout.ts +++ b/src/routes/console/project-[project]/storage/bucket-[bucket]/+layout.ts @@ -16,6 +16,6 @@ export const load: LayoutLoad = async ({ params, parent, depends }) => { bucket: await sdkForProject.storage.getBucket(params.bucket) }; } catch (e) { - throw error(e.code, e.message) + throw error(e.code, e.message); } }; diff --git a/src/routes/console/project-[project]/storage/bucket-[bucket]/file-[file]/+layout.ts b/src/routes/console/project-[project]/storage/bucket-[bucket]/file-[file]/+layout.ts index 94948c084..ec7e4b6a3 100644 --- a/src/routes/console/project-[project]/storage/bucket-[bucket]/file-[file]/+layout.ts +++ b/src/routes/console/project-[project]/storage/bucket-[bucket]/file-[file]/+layout.ts @@ -16,6 +16,6 @@ export const load: LayoutLoad = async ({ params, parent, depends }) => { file: await sdkForProject.storage.getFile(params.bucket, params.file) }; } catch (e) { - throw error(e.code, e.message) + throw error(e.code, e.message); } };