MCPcopy Create free account
hub / github.com/cursor/community-plugins / setAll

Function setAll

apps/cursor/src/utils/supabase/server.ts:23–33  ·  view source on GitHub ↗
(cookiesToSet)

Source from the content-addressed store, hash-verified

21 return cookieStore.getAll();
22 },
23 setAll(cookiesToSet) {
24 try {
25 for (const { name, value, options } of cookiesToSet) {
26 cookieStore.set(name, value, options);
27 }
28 } catch {
29 // The `setAll` method was called from a Server Component.
30 // This can be ignored if you have middleware refreshing
31 // user sessions.
32 }
33 },
34 },
35 },
36 );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected