Files
KVideo/lib/server/api-responses.ts
T

6 lines
195 B
TypeScript

import { NextResponse } from 'next/server';
export function authenticationRequiredResponse(): NextResponse {
return NextResponse.json({ error: 'Authentication required' }, { status: 401 });
}