fix(portal): resolve cookiesToSet type in supabase server client
This commit is contained in:
@@ -11,7 +11,7 @@ export async function createClient() {
|
||||
getAll() {
|
||||
return cookieStore.getAll();
|
||||
},
|
||||
setAll(cookiesToSet) {
|
||||
setAll(cookiesToSet: { name: string; value: string; options?: any }[]) {
|
||||
try {
|
||||
cookiesToSet.forEach(({ name, value, options }) =>
|
||||
cookieStore.set(name, value, options)
|
||||
|
||||
Reference in New Issue
Block a user