videosphere
    Preparing search index...

    Function youtubeAuthErrorResponse

    • Builds a 401 response for missing session auth or token refresh failure.

      Parameters

      • message: string

        Human-readable failure reason.

      Returns NextResponse

      JSON error response for route handlers.