(context)
| 38 | |
| 39 | // Export the `session` prop to use sessions with Server Side Rendering |
| 40 | export async function getServerSideProps(context) { |
| 41 | return { |
| 42 | props: { |
| 43 | session: await getServerSession(context.req, context.res, authOptions), |
| 44 | }, |
| 45 | } |
| 46 | } |
no test coverage detected