mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
fix(ts): correct user type reference
This commit is contained in:
@@ -460,7 +460,7 @@ export function SupabaseAdapter(options: SupabaseAdapterOptions): Adapter {
|
||||
|
||||
return {
|
||||
user: format<AdapterUser>(
|
||||
user as Database["next_auth"]["Tables"]["users"]["Row"]
|
||||
user as Database["next_auth"]["Tables"]["users"]["Row"][]
|
||||
),
|
||||
session: format<AdapterSession>(session),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user