chore(release): remove legacy runtime dependencies

This commit is contained in:
poyrazavsever
2026-07-17 09:13:23 +03:00
parent 5948907e5d
commit 8cd3de8e1f
42 changed files with 910 additions and 6207 deletions
+3 -4
View File
@@ -6,9 +6,8 @@ import {
import { getSessionContextFromHeaders } from "@/server/auth/session";
/**
* Legacy adapter for the current client detail screen.
* The old endpoint created a Supabase Auth user with a freelancer-chosen password.
* It now issues a one-time Better Auth invitation and never accepts a password.
* Compatibility adapter for the current client detail screen.
* It issues a one-time Better Auth invitation and never accepts a password.
*/
export async function POST(request: Request) {
const actor = await getSessionContextFromHeaders(new Headers(request.headers));
@@ -31,7 +30,7 @@ export async function POST(request: Request) {
return NextResponse.json({ error: error.message, code: error.code }, { status });
}
console.error("Legacy client invitation adapter failed", error);
console.error("Client invitation adapter failed", error);
return NextResponse.json({ error: "Müşteri daveti oluşturulamadı." }, { status: 500 });
}
}