psteinroe/fastify-supabase

export interface Fastify Request has _supabaseClient instead of supabaseClient

Opened this issue · 0 comments

Right now the interface inside the declare module is wrong

it should be modified from
declare module "fastify" {
export interface FastifyRequest {
_supabaseClient: SupabaseClient;
supabaseUser: User;
}
}

to this
declare module "fastify" {
export interface FastifyRequest {
supabaseClient: SupabaseClient;
supabaseUser: User;
}
}