diff --git a/src/lib/google/sheets/server.ts b/src/lib/google/sheets/server.ts index 331a2c6..c40d15b 100644 --- a/src/lib/google/sheets/server.ts +++ b/src/lib/google/sheets/server.ts @@ -1,6 +1,6 @@ import { google } from 'googleapis'; import { getAuthenticatedClient } from '../auth/server.js'; -import { GoogleSheet } from './types.ts'; +import { GoogleSheet } from './types'; // Type for sheet data export interface SheetData { diff --git a/src/routes/private/home/+layout.server.ts b/src/routes/private/home/+layout.server.ts new file mode 100644 index 0000000..803cddb --- /dev/null +++ b/src/routes/private/home/+layout.server.ts @@ -0,0 +1,5 @@ +/** + * This file is necessary to ensure protection of all routes in the `private` + * directory. It makes the routes in this directory _dynamic_ routes, which + * send a server request, and thus trigger `hooks.server.ts`. + **/ \ No newline at end of file