feat: add iOS support and harden receipt scanning

This commit is contained in:
Timo
2026-08-20 23:48:26 +02:00
parent f5e06c32b0
commit cf1b799e1b
107 changed files with 11755 additions and 122 deletions

View File

@@ -19,7 +19,7 @@ export async function POST(req: NextRequest) {
const csrfBlocked = requireCsrf(req);
if (csrfBlocked) return csrfBlocked;
const user = await getCurrentUser();
const user = await getCurrentUser(req);
if (!user) {
return NextResponse.json({ error: "Unauthorized" }, { status: 401 });
}