()
| 72 | } |
| 73 | |
| 74 | export async function protectedHeaders() { |
| 75 | const { authorization } = await maybeProtectedHeaders(); |
| 76 | if (!authorization) |
| 77 | throw new Error( |
| 78 | "Please sign in to continue. Alternatively, email hello@cap.so or join our Discord at cap.link/discord", |
| 79 | ); |
| 80 | return { authorization }; |
| 81 | } |
no test coverage detected