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

@@ -23,7 +23,7 @@ async function resolveScope(req: NextRequest): Promise<{
userId: string;
guest: GuestContext | null;
}> {
const user = await getCurrentUser();
const user = await getCurrentUser(req);
if (user) return { user, userId: user.id, guest: null };
const guest = resolveGuestContext(req);