diff --git a/content/tutorial/03-sveltekit/06-forms/01-the-form-element/app-a/src/routes/+page.server.js b/content/tutorial/03-sveltekit/06-forms/01-the-form-element/app-a/src/routes/+page.server.js index 6a0a78d8f..61043a16b 100644 --- a/content/tutorial/03-sveltekit/06-forms/01-the-form-element/app-a/src/routes/+page.server.js +++ b/content/tutorial/03-sveltekit/06-forms/01-the-form-element/app-a/src/routes/+page.server.js @@ -1,7 +1,7 @@ import * as db from '$lib/server/database.js'; export function load({ cookies }) { - const id = cookies.get('userid'); + let id = cookies.get('userid'); if (!id) { id = crypto.randomUUID(); diff --git a/content/tutorial/03-sveltekit/06-forms/01-the-form-element/app-b/src/routes/+page.server.js b/content/tutorial/03-sveltekit/06-forms/01-the-form-element/app-b/src/routes/+page.server.js index e36055d78..4fe5d4667 100644 --- a/content/tutorial/03-sveltekit/06-forms/01-the-form-element/app-b/src/routes/+page.server.js +++ b/content/tutorial/03-sveltekit/06-forms/01-the-form-element/app-b/src/routes/+page.server.js @@ -1,7 +1,7 @@ import * as db from '$lib/server/database.js'; export function load({ cookies }) { - const id = cookies.get('userid'); + let id = cookies.get('userid'); if (!id) { id = crypto.randomUUID(); diff --git a/content/tutorial/03-sveltekit/06-forms/02-named-form-actions/app-b/src/routes/+page.server.js b/content/tutorial/03-sveltekit/06-forms/02-named-form-actions/app-b/src/routes/+page.server.js index abf15a387..42edcc09f 100644 --- a/content/tutorial/03-sveltekit/06-forms/02-named-form-actions/app-b/src/routes/+page.server.js +++ b/content/tutorial/03-sveltekit/06-forms/02-named-form-actions/app-b/src/routes/+page.server.js @@ -1,7 +1,7 @@ import * as db from '$lib/server/database.js'; export function load({ cookies }) { - const id = cookies.get('userid'); + let id = cookies.get('userid'); if (!id) { id = crypto.randomUUID(); diff --git a/content/tutorial/03-sveltekit/06-forms/03-form-validation/app-b/src/routes/+page.server.js b/content/tutorial/03-sveltekit/06-forms/03-form-validation/app-b/src/routes/+page.server.js index e6157b7c1..41dc94f2f 100644 --- a/content/tutorial/03-sveltekit/06-forms/03-form-validation/app-b/src/routes/+page.server.js +++ b/content/tutorial/03-sveltekit/06-forms/03-form-validation/app-b/src/routes/+page.server.js @@ -2,7 +2,7 @@ import { fail } from '@sveltejs/kit'; import * as db from '$lib/server/database.js'; export function load({ cookies }) { - const id = cookies.get('userid'); + let id = cookies.get('userid'); if (!id) { id = crypto.randomUUID(); diff --git a/content/tutorial/03-sveltekit/06-forms/05-customizing-use-enhance/app-b/src/routes/+page.server.js b/content/tutorial/03-sveltekit/06-forms/05-customizing-use-enhance/app-b/src/routes/+page.server.js index e58ce6b70..f05f751cb 100644 --- a/content/tutorial/03-sveltekit/06-forms/05-customizing-use-enhance/app-b/src/routes/+page.server.js +++ b/content/tutorial/03-sveltekit/06-forms/05-customizing-use-enhance/app-b/src/routes/+page.server.js @@ -2,7 +2,7 @@ import { fail } from '@sveltejs/kit'; import * as db from '$lib/server/database.js'; export function load({ cookies }) { - const id = cookies.get('userid'); + let id = cookies.get('userid'); if (!id) { id = crypto.randomUUID();