()
| 19 | } |
| 20 | |
| 21 | export function createUnauthorizedResponse(): NextResponse { |
| 22 | return NextResponse.json({ error: 'Unauthorized' }, { status: 401 }) |
| 23 | } |
| 24 | |
| 25 | /** |
| 26 | * Creates a 400 Bad Request response for non-validation errors (business rule |
no outgoing calls
no test coverage detected