Import missing "fail" import

Must import `fail` metho from SvelteKit in the +page.server example
This commit is contained in:
Dana Woodman authored and GitHub committed 2023-07-03 11:50:36 -07:00
1 parent fde963b239
commit af2476f239
1 file changed
+2
@@ -416,6 +416,8 @@ We can access the supabase instance in our `+page.svelte` file through the data
```js src/routes/login/+page.server.js
// src/routes/login/+page.server.js
import { fail } from '@sveltejs/kit'
export const actions = {
default: async ({ request, url, locals: { supabase } }) => {
const formData = await request.formData()