First stage of the new flow

This commit is contained in:
Roman Krček
2025-07-02 21:50:45 +02:00
parent 5fd647d894
commit 822f1a7342
15 changed files with 1317 additions and 140 deletions

View File

@@ -3,9 +3,9 @@ import { json, redirect } from '@sveltejs/kit';
import {
createAuthUrl,
exchangeCodeForTokens,
sendGmail,
getOAuthClient
} from '$lib/google';
import { sendGmail } from '$lib/gmail';
/* ───────────── GET ───────────── */
export const GET: RequestHandler = async ({ url }) => {