支持自部署需求管理、交付流程与飞书集成
This commit is contained in:
1 parent
2149aeb6ed
commit
51a2e548f2
152 files changed
+8652
-6394
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import { authFailure, jsonResponse, requireApiUser } from '@/lib/server/auth';
|
||||
|
||||
export const runtime = 'nodejs';
|
||||
export const dynamic = 'force-dynamic';
|
||||
|
||||
export async function GET() {
|
||||
try { return jsonResponse({ user: await requireApiUser({ allowPasswordChange: true }) }); }
|
||||
catch (error) { return authFailure(error); }
|
||||
}
|
||||
Reference in new issue
Block a user