(cookiesToSet)
| 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 | ); |
nothing calls this directly
no outgoing calls
no test coverage detected