mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 12:25:05 +03:00
Import missing "fail" import
Must import `fail` metho from SvelteKit in the +page.server example
This commit is contained in:
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()
|
||||
|
||||
Reference in new issue
Block a user